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
..
2015-01-18 00:28:41 -05:00
2011-03-31 11:26:23 -03:00
2015-01-18 00:28:41 -05:00
2015-06-10 22:46:34 -07:00
2011-03-31 11:26:23 -03:00
2013-02-08 14:22:05 -05:00
2015-01-18 00:28:41 -05:00
2012-03-28 18:30:03 +01:00
2011-07-26 16:49:47 -07:00
2015-01-18 00:28:41 -05:00