WSL2-Linux-Kernel/drivers/atm
David Woodhouse ce816eb064 solos-pci: Increase headroom on received packets
A comment in include/linux/skbuff.h says that:

 * Various parts of the networking layer expect at least 32 bytes of
 * headroom, you should not reduce this.

This was demonstrated by a panic when handling fragmented IPv6 packets:
http://marc.info/?l=linux-netdev&m=144236093519172&w=2

It's not entirely clear if that comment is still valid — and if it is,
perhaps netif_rx() ought to be enforcing it with a warning.

But either way, it is rather stupid from a performance point of view
for us to be receiving packets into a buffer which doesn't have enough
room to prepend an Ethernet header — it means that *every* incoming
packet is going to be need to be reallocated. So let's fix that.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-17 21:29:07 -07:00
..
.gitignore
Kconfig
Makefile
adummy.c
ambassador.c
ambassador.h
atmtcp.c drivers/atm/atmtcp.c: fix error return code 2014-08-07 16:02:57 -07:00
eni.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
eni.h
firestream.c
firestream.h
fore200e.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
fore200e.h
he.c atm: he: drop null test before destroy functions 2015-09-15 16:49:43 -07:00
he.h atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
horizon.c atm: horizon: Remove some unused functions 2015-01-13 17:28:19 -05:00
horizon.h
idt77105.c atm: idt77105: Use setup_timer 2015-06-10 22:46:34 -07:00
idt77105.h
idt77252.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
idt77252.h
idt77252_tables.h
iphase.c atm: use msecs_to_jiffies for conversions 2015-06-08 15:48:45 -07:00
iphase.h
lanai.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
midway.h
nicstar.c drivers: atm: nicstar: remove ifdef'd out skb destructors 2015-03-10 13:34:53 -04:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c solos-pci: Increase headroom on received packets 2015-09-17 21:29:07 -07:00
suni.c
suni.h
tonga.h
uPD98401.h
uPD98402.c
uPD98402.h
zatm.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
zatm.h
zeprom.h