From 96871912a16c25bdc18bb22db79485b0fa80a87d Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Tue, 20 Sep 2011 14:08:57 -0700 Subject: [PATCH] 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 --- datapath/datapath.c | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.43.0