android_kernel_samsung_univ.../net
Herbert Xu a7ae199224 ipv6: Remove all uses of LL_ALLOCATED_SPACE
ipv6: Remove all uses of LL_ALLOCATED_SPACE

The macro LL_ALLOCATED_SPACE was ill-conceived.  It applies the
alignment to the sum of needed_headroom and needed_tailroom.  As
the amount that is then reserved for head room is needed_headroom
with alignment, this means that the tail room left may be too small.

This patch replaces all uses of LL_ALLOCATED_SPACE in net/ipv6
with the macro LL_RESERVED_SPACE and direct reference to
needed_tailroom.

This also fixes the problem with needed_headroom changing between
allocating the skb and reserving the head room.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-18 14:37:09 -05:00
..
9p
802
8021q net: introduce and use netdev_features_t for device features sets 2011-11-16 17:43:10 -05:00
appletalk
atm neigh: new unresolved queue limits 2011-11-14 00:47:54 -05:00
ax25
batman-adv
bluetooth Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2011-11-17 13:11:43 -05:00
bridge net: remove NETIF_F_NO_CSUM feature bit 2011-11-16 17:43:12 -05:00
caif
can
ceph
core net: use jump_label to shortcut RPS if not setup 2011-11-17 17:06:08 -05:00
dcb
dccp net: rename sk_clone to sk_clone_lock 2011-11-08 17:07:07 -05:00
decnet neigh: new unresolved queue limits 2011-11-14 00:47:54 -05:00
dns_resolver
dsa
econet
ethernet
ieee802154 6LoWPAN: double free in lowpan_fragment_xmit() 2011-11-16 18:13:38 -05:00
ipv4 ipv4: Remove all uses of LL_ALLOCATED_SPACE 2011-11-18 14:37:08 -05:00
ipv6 ipv6: Remove all uses of LL_ALLOCATED_SPACE 2011-11-18 14:37:09 -05:00
ipx
irda
iucv
key
l2tp
lapb
llc
mac80211 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2011-11-17 13:11:43 -05:00
netfilter
netlabel
netlink
netrom
nfc Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2011-11-17 13:11:43 -05:00
packet
phonet
rds
rfkill Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2011-11-17 13:11:43 -05:00
rose
rxrpc
sched net: new counter for tx_timeout errors in sysfs 2011-11-16 23:14:02 -05:00
sctp sctp: fasthandoff with ASCONF at server-node 2011-11-08 15:11:30 -05:00
sunrpc
tipc
unix
wanrouter
wimax
wireless Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2011-11-17 13:11:43 -05:00
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c net: add wireless TX status socket option 2011-11-09 16:01:02 -05:00
sysctl_net.c