aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-11-15 09:05:51 -0800
committerDavid S. Miller <davem@davemloft.net>2021-11-16 13:16:54 +0000
commit4721031c3559db8eae61df305f10c00099a7c1d0 (patch)
tree91cd3461e7d20890811ed0daa9fddcf77f488deb /include/net/ip.h
parentMerge branch 'tcp-optimizations' (diff)
downloadlinux-dev-4721031c3559db8eae61df305f10c00099a7c1d0.tar.xz
linux-dev-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 '')
-rw-r--r--include/net/ip.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index b71e88507c4a..7d1088888c10 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -568,14 +568,6 @@ static inline void iph_to_flow_copy_v4addrs(struct flow_keys *flow,
flow->control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
}
-static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto)
-{
- const struct iphdr *iph = skb_gro_network_header(skb);
-
- return csum_tcpudp_nofold(iph->saddr, iph->daddr,
- skb_gro_len(skb), proto, 0);
-}
-
/*
* Map a multicast IP onto multicast MAC for type ethernet.
*/