summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fou.c
diff options
context:
space:
mode:
authorJarno Rajahalme <jarno@ovn.org>2016-05-04 01:10:20 +0200
committerDavid S. Miller <davem@davemloft.net>2016-05-07 00:25:26 +0200
commit43b8448cd7b42a4c39476c9a12c960c1408f1946 (patch)
treef233f2f38ab8d6038855ae784012080cea201396 /net/ipv4/fou.c
parentqede: prevent chip hang when increasing channels (diff)
downloadlinux-43b8448cd7b42a4c39476c9a12c960c1408f1946.tar.xz
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 '')
-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]);