net: Inline skb_pull() in eth_type_trans().
commit47d29646a2c1c147d8a7598aeac2c87dd71ed638
authorDavid S. Miller <davem@davemloft.net>
Sun, 2 May 2010 09:21:44 +0000 (2 02:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 May 2010 09:21:44 +0000 (2 02:21 -0700)
treeb38f05d82883b5c0fc885812172a546af966d419
parent43815482370c510c569fd18edb57afcb0fa8cab6
net: Inline skb_pull() in eth_type_trans().

In commit 6be8ac2f ("[NET]: uninline skb_pull, de-bloats a lot")
we uninlined skb_pull.

But in some critical paths it makes sense to inline this thing
and it helps performance significantly.

Create an skb_pull_inline() so that we can do this in a way that
serves also as annotation.

Based upon a patch by Eric Dumazet.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c
net/ethernet/eth.c