]> git.baikalelectronics.ru Git - kernel.git/commit
ehea: fix invalid pointer access
authorHannes Hering <hering2@de.ibm.com>
Mon, 4 May 2009 18:06:37 +0000 (11:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2009 18:06:37 +0000 (11:06 -0700)
commitb08729916ff71ddc6a260908cff0ee9aa613af0e
tree95993c55500c30ff17e04f530728d00f40480364
parentf1236196560a6504864263dc980347a1067f0087
ehea: fix invalid pointer access

This patch fixes an invalid pointer access in case the receive queue
holds no pointer to the next skb when the queue is empty.

Signed-off-by: Hannes Hering <hering2@de.ibm.com>
Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ehea/ehea.h
drivers/net/ehea/ehea_main.c