NULL pointer bug in netpoll.c

2005-03-19 Thread Jan Kiszka
Hi, it seems that there is a gremlin sleeping in net/core/netpoll.c:find_skb(). Even if no more buffers are available through "skbs", "skb" is dereferenced anyway. The tiny patch should fix it. Jan --- linux-2.6.11.4/net/core/netpoll.c.orig 2005-03-16 01:09:19.0 +0100 +++

NULL pointer bug in netpoll.c

2005-03-19 Thread Jan Kiszka
Hi, it seems that there is a gremlin sleeping in net/core/netpoll.c:find_skb(). Even if no more buffers are available through skbs, skb is dereferenced anyway. The tiny patch should fix it. Jan --- linux-2.6.11.4/net/core/netpoll.c.orig 2005-03-16 01:09:19.0 +0100 +++