net: add and use skb_gso_transport_seglen()
authorFlorian Westphal <fw@strlen.de>
Sat, 22 Feb 2014 09:33:25 +0000 (10:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Mar 2014 23:09:59 +0000 (16:09 -0700)
commit32e66c065179e598c0e692f4d57ded48715e0d99
tree23e5a25a13b43a59e721f2ad2814d1ec46d11eb2
parent19e48381ab5da05c5fb398336a90a52a2b623cdc
net: add and use skb_gso_transport_seglen()

commit de960aa9ab4decc3304959f69533eef64d05d8e8 upstream.

[ no skb_gso_seglen helper in 3.4, 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