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)
commit0b2febf38a33d7c40fb7bb4a58c113a1fa33c412
tree95993c55500c30ff17e04f530728d00f40480364
parent379b026ecc20c4657d37e40ead789f7f28f1a1c1
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