summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorJarno Rajahalme <jarno@ovn.org>2016-05-03 16:10:20 -0700
committerDavid S. Miller <davem@davemloft.net>2016-05-06 18:25:26 -0400
commit43b8448cd7b42a4c39476c9a12c960c1408f1946 (patch)
treef233f2f38ab8d6038855ae784012080cea201396 /net/ipv4
parent8e0ddc040a87a3b700bdf67394d24fe30a0f1eb9 (diff)
downloadlinux-43b8448cd7b42a4c39476c9a12c960c1408f1946.tar.gz
linux-43b8448cd7b42a4c39476c9a12c960c1408f1946.tar.bz2
linux-43b8448cd7b42a4c39476c9a12c960c1408f1946.zip
udp_tunnel: Remove redundant udp_tunnel_gro_complete().
The setting of the UDP tunnel GSO type is already performed by udp[46]_gro_complete(). Signed-off-by: Jarno Rajahalme <jarno@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/fou.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/fou.c b/net/ipv4/fou.c
index a39068b4a4d9..305d9ac68bd9 100644
--- a/net/ipv4/fou.c
+++ b/net/ipv4/fou.c
@@ -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]);