[PATCH 5/10] spidernet: null out skb pointer after its been used.

2007-05-22 Thread Linas Vepstas
If the ethernet interface is brought down while there is still RX traffic in flight, the device shutdown routine can end up trying to double-free an skb, leading to a crash in mm/slab.c Avoid the double-free by nulling out the skb pointer. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> d

[PATCH 5/10] spidernet: null out skb pointer after its been used.

2007-05-16 Thread Linas Vepstas
If the ethernet interface is brought down while there is still RX traffic in flight, the device shutdown routine can end up trying to double-free an skb, leading to a crash in mm/slab.c Avoid the double-free by nulling out the skb pointer. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> d