]> git.baikalelectronics.ru Git - kernel.git/commit
net: Remove LL_ALLOCATED_SPACE
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Nov 2011 02:20:05 +0000 (02:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2011 19:37:09 +0000 (14:37 -0500)
commitc3db264824561cdd605982cb65f479e30b953896
tree6215afe05067bed4dc95b165d813db29df34cde4
parent9ec7982498053b5333c18ac0f0e341ea9c74780e
net: Remove LL_ALLOCATED_SPACE

net: Remove 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.

Now that all uses of LL_ALLOCATED_SPACE have been removed, this
patch finally removes the macro itself.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h