diff options
author | Eric Dumazet <edumazet@google.com> | 2021-11-15 18:05:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-16 14:16:54 +0100 |
commit | 4721031c3559db8eae61df305f10c00099a7c1d0 (patch) | |
tree | 91cd3461e7d20890811ed0daa9fddcf77f488deb /include/net/ip.h | |
parent | Merge branch 'tcp-optimizations' (diff) | |
download | linux-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/ip.h')
-rw-r--r-- | include/net/ip.h | 8 |
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. */ |