From: Jesse Gross Date: Tue, 20 Sep 2011 21:08:57 +0000 (-0700) Subject: datapath: Remove check for shared skbs. X-Git-Tag: v1.3.0~262 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=96871912a16c25bdc18bb22db79485b0fa80a87d;p=sliver-openvswitch.git datapath: Remove check for shared skbs. 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 Acked-by: Ben Pfaff --- diff --git a/datapath/datapath.c b/datapath/datapath.c index 61c348bdc..4be1d90e4 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