net: Allow netdevices to specify needed head/tailroom
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 13 May 2008 03:48:31 +0000 (20:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 May 2008 03:48:31 +0000 (20:48 -0700)
commitf5184d267c1aedb9b7a8cc44e08ff6b8d382c3b5
tree5ccce7558f9e1e53e5b189d6e2fe62a667988ac8
parent8388e3da34edb141362bb42811ee487dfec15525
net: Allow netdevices to specify needed head/tailroom

This patch adds needed_headroom/needed_tailroom members to struct
net_device and updates many places that allocate sbks to use them. Not
all of them can be converted though, and I'm sure I missed some (I
mostly grepped for LL_RESERVED_SPACE)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
include/linux/netdevice.h
net/core/netpoll.c
net/econet/af_econet.c
net/ipv4/arp.c
net/ipv4/igmp.c
net/ipv4/ipconfig.c
net/ipv4/raw.c
net/ipv6/ip6_output.c
net/ipv6/mcast.c
net/ipv6/ndisc.c
net/ipv6/raw.c
net/packet/af_packet.c
net/xfrm/xfrm_output.c