[openib-general] [PATCH]rmmod could crash in tx_ring[].skb & rx_ring[].skb.

Shirley Ma mashirle at us.ibm.com
Wed Feb 9 11:47:57 PST 2005


I am going through the IPoIB code. I found rmmod could cause 
kernel crash. It's easy to fix tx_ring with tx_lock. rx_ring[].skb has 
the same problem, inducing another lock in ipoib_ib_handle_wc()
just for rmmod is too costly. Any other suggestion? 

Here is the patch for tx_ring[].skb.

---------- 
Thanks
Shirley Ma
IBM Linux Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmmod.tx_ring
Type: text/x-diff
Size: 1014 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050209/fd9ed5aa/attachment.diff>


More information about the general mailing list