net: add and use skb_gso_transport_seglen()
authorFlorian Westphal <fw@strlen.de>
Sat, 22 Feb 2014 09:30:17 +0000 (10:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 05:30:05 +0000 (21:30 -0800)
commit3fb03b59b44b2e4216331e398b21754d250ae223
treecade106cdd24a91a221df2f17d6ddc9dd358e483
parentb306713b6374b184026f3a8a176ac11ee855510a
net: add and use skb_gso_transport_seglen()

commit de960aa9ab4decc3304959f69533eef64d05d8e8 upstream.

[ no skb_gso_seglen helper in 3.10, leave tbf alone ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/skbuff.h
net/core/skbuff.c