qeth: avoid skb_under_panic for malformatted inbound data
authorUrsula Braun <ursula.braun@de.ibm.com>
Fri, 24 Oct 2008 09:16:55 +0000 (11:16 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 27 Oct 2008 18:49:00 +0000 (14:49 -0400)
commit2d488c2f514a6c5248a0773c78345626abdc1818
tree5400c148987e270a38aa15b76144cbfc40a6b93c
parentcc181282fb2fa1af6d532f1333dd42af4814ff17
qeth: avoid skb_under_panic for malformatted inbound data

To make the qeth driver more robust in case of malformatted inbound
packets due to hardware problems, an additional check for
OSN-card-type is added for OSN-type packets.

Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/s390/net/qeth_l2_main.c