diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-03-14 06:56:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-16 02:01:05 -0700 |
commit | 7bdd402706cf26bfef9050dfee3f229b7f33ee4f (patch) | |
tree | 4db4fac193e40f7a7d86a3ec072337b451af3477 /drivers/rtc/rtc-ab8500.c | |
parent | c0ea452e422a1fc78ec8c639df64012d0b8dbb4a (diff) | |
download | linux-7bdd402706cf26bfef9050dfee3f229b7f33ee4f.tar.gz linux-7bdd402706cf26bfef9050dfee3f229b7f33ee4f.tar.bz2 linux-7bdd402706cf26bfef9050dfee3f229b7f33ee4f.zip |
net/usbnet: reserve headroom on rx skbs
network drivers should reserve some headroom on incoming skbs so that we
dont need expensive reallocations, eg forwarding packets in tunnels.
This NET_SKB_PAD padding is done in various helpers, like
__netdev_alloc_skb_ip_align() in this patch, combining NET_SKB_PAD and
NET_IP_ALIGN magic.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Oliver Neukum <oneukum@suse.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc/rtc-ab8500.c')
0 files changed, 0 insertions, 0 deletions