[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46704F29.8060805@garzik.org>
Date: Wed, 13 Jun 2007 16:10:17 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Linas Vepstas <linas@...tin.ibm.com>
CC: Michael Ellerman <michael@...erman.id.au>, netdev@...r.kernel.org,
cbe-oss-dev@...abs.org
Subject: Re: [PATCH 1/15] spidernet: null out skb pointer after its been used.
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@...tin.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
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists