diff options
Diffstat (limited to 'net/ipv4/ip_tunnel.c')
-rw-r--r-- | net/ipv4/ip_tunnel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/ip_tunnel.c b/net/ipv4/ip_tunnel.c index 88d7d7d1eccb..ac9fabe0300f 100644 --- a/net/ipv4/ip_tunnel.c +++ b/net/ipv4/ip_tunnel.c | |||
@@ -461,8 +461,7 @@ int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb, | |||
461 | skb->dev = tunnel->dev; | 461 | skb->dev = tunnel->dev; |
462 | } | 462 | } |
463 | 463 | ||
464 | if (!net_eq(tunnel->net, dev_net(tunnel->dev))) | 464 | skb_scrub_packet(skb, !net_eq(tunnel->net, dev_net(tunnel->dev))); |
465 | skb_scrub_packet(skb, true); | ||
466 | 465 | ||
467 | gro_cells_receive(&tunnel->gro_cells, skb); | 466 | gro_cells_receive(&tunnel->gro_cells, skb); |
468 | return 0; | 467 | return 0; |