ehea: fix invalid pointer access
commit808e98b3d87427919bb0236d79ad827d6d1ff40f
authorHannes Hering <hering2@de.ibm.com>
Mon, 4 May 2009 18:06:37 +0000 (4 11:06 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 May 2009 23:35:26 +0000 (18 16:35 -0700)
tree545cfe390cd16b0ad0bd0851a4fec8d294f911c3
parentd60c0932c0c995c0076b2edc8b83df7ae71861fa
ehea: fix invalid pointer access

commit 0b2febf38a33d7c40fb7bb4a58c113a1fa33c412 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/ehea/ehea_main.c