WSL2-Linux-Kernel/drivers/net/arcnet
Michael Grzeschik 980137a203 ARCNET: fix hard_header_len limit
For arcnet the bare minimum header only contains the 4 bytes to
specify source, dest and offset (1, 1 and 2 bytes respectively).
The corresponding struct is struct arc_hardware.

The struct archdr contains additionally a union of possible soft
headers. When doing $insertusecasehere packets might well
include short (or even no?) soft headers.

For this reason only use arc_hardware instead of archdr to
determine the hard_header_len for an arcnet device.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-17 22:26:55 -07:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile com20020_cs: Move the PCMCIA Arcnet driver 2011-08-27 00:58:44 -07:00
arc-rawmode.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
arc-rimi.c arcnet: rimi: Fix device name in debug output 2012-04-17 22:22:43 -04:00
arcnet.c ARCNET: fix hard_header_len limit 2015-09-17 22:26:55 -07:00
capmode.c drivers/net/arcnet/capmode.c: clean up code 2010-05-31 00:35:13 -07:00
com90io.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
com90xx.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
com20020-isa.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
com20020-pci.c com20020-pci: add support for eae single card 2015-02-15 08:21:34 -08:00
com20020.c ARCNET: add com20020_set_hwddr to change address 2014-09-29 14:36:26 -04:00
com20020_cs.c ARCNET: add support for multi interfaces on com20020 2014-09-29 14:36:26 -04:00
rfc1051.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
rfc1201.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00