[Cbe-oss-dev] [PATCH 1/15] spidernet: null out skb pointer after its been used.

Jeff Garzik jeff at garzik.org
Thu Jun 14 06:10:17 EST 2007


Linas Vepstas wrote:
> Avoid kernel crash in mm/slab.c due to double-free of pointer.
> 
> 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 <linas at austin.ibm.com>
> 
> ----
>  drivers/net/spider_net.c |    1 +
>  1 file changed, 1 insertion(+)

applied 1-5, 7 to #upstream-fixes (2.6.22)

patch #6 was ignored, because it was already upstream





More information about the cbe-oss-dev mailing list