summaryrefslogtreecommitdiff
path: root/net/ipv4/fou.c
diff options
context:
space:
mode:
authorJarno Rajahalme <jarno@ovn.org>2016-05-03 23:10:20 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-05-06 22:25:26 (GMT)
commit43b8448cd7b42a4c39476c9a12c960c1408f1946 (patch)
treef233f2f38ab8d6038855ae784012080cea201396 /net/ipv4/fou.c
parent8e0ddc040a87a3b700bdf67394d24fe30a0f1eb9 (diff)
downloadlinux-43b8448cd7b42a4c39476c9a12c960c1408f1946.tar.xz
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/fou.c')
-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 a39068b..305d9ac 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]);