net: add and use skb_gso_transport_seglen()
authorFlorian Westphal <fw@strlen.de>
Sun, 26 Jan 2014 09:58:16 +0000 (10:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2014 06:38:23 +0000 (22:38 -0800)
commitde960aa9ab4decc3304959f69533eef64d05d8e8
tree1f225ca6fef5512f121856b7572534d2ed171e39
parent77d143de75812596a58d126606f42d1214e09dde
net: add and use skb_gso_transport_seglen()

This moves part of Eric Dumazets skb_gso_seglen helper from tbf sched to
skbuff core so it may be reused by upcoming ip forwarding path patch.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c
net/sched/sch_tbf.c