diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-04 21:42:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-07 12:00:11 -0700 |
commit | 68199d62034a736cae12fee49b0dad5342612583 (patch) | |
tree | 12d193b46dd9e8ef54788706db22a32379f89148 /include | |
parent | 473d8a237b359c41225458f3d7c6aa2e5beb40d5 (diff) |
Revert: "net: ip, ipv6: handle gso skbs in forwarding path"
This reverts commit 29a3cd46644ec8098dbe1c12f89643b5c11831a9 which is
commit fe6cc55f3a9a053482a76f5a6b2257cee51b4663 upstream.
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Marcelo Ricardo Leitner <mleitner@redhat.com>
Cc: Florian Westphal <fw@strlen.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/skbuff.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index e22df7a4f1ab..4424db24396d 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -2608,22 +2608,5 @@ static inline bool skb_is_recycleable(const struct sk_buff *skb, int skb_size) return true; } - -/** - * skb_gso_network_seglen - Return length of individual segments of a gso packet - * - * @skb: GSO skb - * - * skb_gso_network_seglen is used to determine the real size of the - * individual segments, including Layer3 (IP, IPv6) and L4 headers (TCP/UDP). - * - * The MAC/L2 header is not accounted for. - */ -static inline unsigned int skb_gso_network_seglen(const struct sk_buff *skb) -{ - unsigned int hdr_len = skb_transport_header(skb) - - skb_network_header(skb); - return hdr_len + skb_gso_transport_seglen(skb); -} #endif /* __KERNEL__ */ #endif /* _LINUX_SKBUFF_H */ |