projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3d6713
)
net: reset skb queue mapping when rx'ing over tunnel
author
Tom Herbert
<therbert@google.com>
Thu, 23 Sep 2010 11:19:54 +0000
(11:19 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 27 Sep 2010 01:48:40 +0000
(18:48 -0700)
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 <therbert@google.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/dst.h
b/include/net/dst.h
index 81d1413a87010967684febe7344169baa7d828ef..02386505033d975e666cd924a3bafe3ca02bb100 100644
(file)
--- 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);
}