Commit 693019e9 authored by Tom Herbert's avatar Tom Herbert Committed by David S. Miller
Browse files

net: reset skb queue mapping when rx'ing over tunnel



Reset queue mapping when an skb is reentering the stack via a tunnel.
On second pass, the queue mapping from the original device is no
longer valid.
Signed-off-by: default avatarTom Herbert <therbert@google.com>
Acked-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a3d6713f
...@@ -242,6 +242,7 @@ static inline void skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev) ...@@ -242,6 +242,7 @@ static inline void skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev)
dev->stats.rx_packets++; dev->stats.rx_packets++;
dev->stats.rx_bytes += skb->len; dev->stats.rx_bytes += skb->len;
skb->rxhash = 0; skb->rxhash = 0;
skb_set_queue_mapping(skb, 0);
skb_dst_drop(skb); skb_dst_drop(skb);
nf_reset(skb); nf_reset(skb);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment