Loading drivers/net/geneve.c +0 −2 Original line number Diff line number Diff line Loading @@ -504,8 +504,6 @@ static int geneve_gro_complete(struct sk_buff *skb, int nhoff, int gh_len; int err = -ENOSYS; udp_tunnel_gro_complete(skb, nhoff); gh = (struct genevehdr *)(skb->data + nhoff); gh_len = geneve_hlen(gh); type = gh->proto_type; Loading drivers/net/vxlan.c +0 −2 Original line number Diff line number Diff line Loading @@ -616,8 +616,6 @@ static struct sk_buff **vxlan_gro_receive(struct sk_buff **head, static int vxlan_gro_complete(struct sk_buff *skb, int nhoff, struct udp_offload *uoff) { udp_tunnel_gro_complete(skb, nhoff); return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); } Loading include/net/udp_tunnel.h +0 −9 Original line number Diff line number Diff line Loading @@ -106,15 +106,6 @@ static inline struct sk_buff *udp_tunnel_handle_offloads(struct sk_buff *skb, return iptunnel_handle_offloads(skb, type); } static inline void udp_tunnel_gro_complete(struct sk_buff *skb, int nhoff) { struct udphdr *uh; uh = (struct udphdr *)(skb->data + nhoff - sizeof(struct udphdr)); skb_shinfo(skb)->gso_type |= uh->check ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL; } static inline void udp_tunnel_encap_enable(struct socket *sock) { #if IS_ENABLED(CONFIG_IPV6) Loading net/ipv4/fou.c +0 −2 Original line number Diff line number Diff line Loading @@ -228,8 +228,6 @@ static int fou_gro_complete(struct sk_buff *skb, int nhoff, int err = -ENOSYS; const struct net_offload **offloads; udp_tunnel_gro_complete(skb, nhoff); rcu_read_lock(); offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; ops = rcu_dereference(offloads[proto]); Loading Loading
drivers/net/geneve.c +0 −2 Original line number Diff line number Diff line Loading @@ -504,8 +504,6 @@ static int geneve_gro_complete(struct sk_buff *skb, int nhoff, int gh_len; int err = -ENOSYS; udp_tunnel_gro_complete(skb, nhoff); gh = (struct genevehdr *)(skb->data + nhoff); gh_len = geneve_hlen(gh); type = gh->proto_type; Loading
drivers/net/vxlan.c +0 −2 Original line number Diff line number Diff line Loading @@ -616,8 +616,6 @@ static struct sk_buff **vxlan_gro_receive(struct sk_buff **head, static int vxlan_gro_complete(struct sk_buff *skb, int nhoff, struct udp_offload *uoff) { udp_tunnel_gro_complete(skb, nhoff); return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); } Loading
include/net/udp_tunnel.h +0 −9 Original line number Diff line number Diff line Loading @@ -106,15 +106,6 @@ static inline struct sk_buff *udp_tunnel_handle_offloads(struct sk_buff *skb, return iptunnel_handle_offloads(skb, type); } static inline void udp_tunnel_gro_complete(struct sk_buff *skb, int nhoff) { struct udphdr *uh; uh = (struct udphdr *)(skb->data + nhoff - sizeof(struct udphdr)); skb_shinfo(skb)->gso_type |= uh->check ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL; } static inline void udp_tunnel_encap_enable(struct socket *sock) { #if IS_ENABLED(CONFIG_IPV6) Loading
net/ipv4/fou.c +0 −2 Original line number Diff line number Diff line Loading @@ -228,8 +228,6 @@ static int fou_gro_complete(struct sk_buff *skb, int nhoff, int err = -ENOSYS; const struct net_offload **offloads; udp_tunnel_gro_complete(skb, nhoff); rcu_read_lock(); offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; ops = rcu_dereference(offloads[proto]); Loading