datapath: Remove check for shared skbs.
authorJesse Gross <jesse@nicira.com>
Tue, 20 Sep 2011 21:08:57 +0000 (14:08 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 20 Sep 2011 22:16:14 +0000 (15:16 -0700)
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 <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/datapath.c

index 61c348b..4be1d90 100644 (file)
@@ -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