git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Verify in fwd_port_input() that we are not passed packets that are shared.
[sliver-openvswitch.git]
/
datapath
/
forward.c
diff --git
a/datapath/forward.c
b/datapath/forward.c
index
b3c2f7a
..
7c6c1ca
100644
(file)
--- a/
datapath/forward.c
+++ b/
datapath/forward.c
@@
-68,6
+68,7
@@
int run_flow_through_tables(struct sw_chain *chain, struct sk_buff *skb,
void fwd_port_input(struct sw_chain *chain, struct sk_buff *skb,
struct net_bridge_port *p)
{
+ WARN_ON_ONCE(skb_shared(skb));
if (run_flow_through_tables(chain, skb, p))
dp_output_control(chain->dp, skb, fwd_save_skb(skb),
chain->dp->miss_send_len,