projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd6c80d
)
Verify in fwd_port_input() that 'skb' has no destructor.
author
Ben Pfaff
<blp@nicira.com>
Tue, 11 Nov 2008 23:41:04 +0000
(15:41 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 13 Nov 2008 20:44:04 +0000
(12:44 -0800)
datapath/forward.c
patch
|
blob
|
history
diff --git
a/datapath/forward.c
b/datapath/forward.c
index 7c6c1caed151fa01875c679b156dab16680bb8c9..550e25f4901eb7d9f84f18bc686d74b90201c295 100644
(file)
--- a/
datapath/forward.c
+++ b/
datapath/forward.c
@@
-69,6
+69,7
@@
void fwd_port_input(struct sw_chain *chain, struct sk_buff *skb,
struct net_bridge_port *p)
{
WARN_ON_ONCE(skb_shared(skb));
+ WARN_ON_ONCE(skb->destructor);
if (run_flow_through_tables(chain, skb, p))
dp_output_control(chain->dp, skb, fwd_save_skb(skb),
chain->dp->miss_send_len,