We never allow shared skbs to be present inside of the OVS datapath
but the presence of a check in the core makes this less clear.  Since
the check is very old and no longer relevant, drop it.

Signed-off-by: Jesse Gross <[email protected]>
---
 datapath/datapath.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/datapath/datapath.c b/datapath/datapath.c
index 61c348b..4be1d90 100644
--- a/datapath/datapath.c
+++ b/datapath/datapath.c
@@ -405,8 +405,6 @@ int dp_upcall(struct datapath *dp, struct sk_buff *skb, 
const struct dp_upcall_i
        struct dp_stats_percpu *stats;
        int err;
 
-       WARN_ON_ONCE(skb_shared(skb));
-
        forward_ip_summed(skb, true);
 
        /* Break apart GSO packets into their component pieces.  Otherwise
-- 
1.7.4.1

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to