From: Tom Herbert Date: Thu, 23 Sep 2010 11:19:54 +0000 (+0000) Subject: net: reset skb queue mapping when rx'ing over tunnel X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=693019e90ca45d881109d32c0c6d29adf03f6447;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Tom Herbert Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/include/net/dst.h b/include/net/dst.h index 81d1413a8701..02386505033d 100644 --- a/include/net/dst.h +++ b/include/net/dst.h @@ -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_bytes += skb->len; skb->rxhash = 0; + skb_set_queue_mapping(skb, 0); skb_dst_drop(skb); nf_reset(skb); }