Previously rx channel fds were never explicitly removed from the global
fd collection, and the m_p_n_rx_channel_fds member was leaked. Since
the rx channel fds were never removed, a subsequent call to
add_cq_channel_fd() with a new fd that happens to match an old no longer
existing rx channel fd, would trigger the removal of the fd from the
global collection and would not add the new fd.
This removes the rx channel fd from the global fd collection as the
completion channels are destroyed, and frees the m_p_n_rx_channel_fds
member so that it is not leaked.
Original issue reported on code.google.com by shawn.bo...@gmail.com on 17 Jan 2014 at 6:40
Original issue reported on code.google.com by
shawn.bo...@gmail.com
on 17 Jan 2014 at 6:40Attachments: