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

Linas Vepstas linas at austin.ibm.com
Fri Jun 15 08:00:54 EST 2007


On Wed, Jun 13, 2007 at 04:10:17PM -0400, Jeff Garzik wrote:
> 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

Thank you!

--linas



More information about the cbe-oss-dev mailing list