summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_checksum.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-11-15 18:05:51 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-16 14:16:54 +0100
commit4721031c3559db8eae61df305f10c00099a7c1d0 (patch)
tree91cd3461e7d20890811ed0daa9fddcf77f488deb /include/net/ip6_checksum.h
parentMerge branch 'tcp-optimizations' (diff)
downloadlinux-4721031c3559db8eae61df305f10c00099a7c1d0.tar.xz
linux-4721031c3559db8eae61df305f10c00099a7c1d0.zip
net: move gro definitions to include/net/gro.h
include/linux/netdevice.h became too big, move gro stuff into include/net/gro.h Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_checksum.h')
-rw-r--r--include/net/ip6_checksum.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/ip6_checksum.h b/include/net/ip6_checksum.h
index ea681910b7a3..c8a96b888277 100644
--- a/include/net/ip6_checksum.h
+++ b/include/net/ip6_checksum.h
@@ -43,14 +43,6 @@ static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto)
skb->len, proto, 0));
}
-static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto)
-{
- const struct ipv6hdr *iph = skb_gro_network_header(skb);
-
- return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr,
- skb_gro_len(skb), proto, 0));
-}
-
static __inline__ __sum16 tcp_v6_check(int len,
const struct in6_addr *saddr,
const struct in6_addr *daddr,