qeth: HiperSockets layer-3 interface drop non IPv4 or non IPv6 packets
authorKlaus D. Wacker <kdwacker@de.ibm.com>
Fri, 5 Oct 2007 14:45:44 +0000 (16:45 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:39 +0000 (16:54 -0700)
commitbc4b2b497aa61c79e3f3444237a4003a254ea565
treeb623d52c497cae897a4df03c3e3c9868a139c225
parenta3138df9f20e726c517f8df7387b5d83f5df5566
qeth: HiperSockets layer-3 interface drop non IPv4 or non IPv6 packets

HiperSockets infrastructure (layer-3 mode) supports only IPv4 or
IPv6 packets. Sending other packet types disturbs TCP/IP on z/VM,
which issues messages about invalid packets.
Qeth send routine will detect packet type on sending over a
HiperSockets interface (in layer-3 mode) and drop non IP packets.
The error and drop count of the interface is incremented.

Signed-off-by: Klaus D. Wacker <kdwacker@de.ibm.com>
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/s390/net/qeth_main.c