datapath: Assert IFF_TX_SKB_SHARING on internal devices.
authorJesse Gross <jesse@nicira.com>
Wed, 21 Sep 2011 02:09:50 +0000 (19:09 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 18 Oct 2011 16:24:37 +0000 (09:24 -0700)
commit9c8482e9e3459ee429ce093b6038b0ed49949c1b
tree5b1f9d47be2d7ca0b260ade8c1585cbe5741396c
parent4bfff3c8b608bf174e2accd39f7c56d8f827bf2b
datapath: Assert IFF_TX_SKB_SHARING on internal devices.

Linux 3.1 adds a flag to check whether it's OK for shared skbs to
be transmitted on devices.  This generally isn't a problem for
hardware devices but software devices such as OVS that hold state
in the skb need to clear the flag, which is enabled by default.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/linux/compat/include/linux/if.h
datapath/vport-internal_dev.c