[ovs-git] Open vSwitch: datapath: Assert IFF_TX_SKB_SHARING on internal devices. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Oct 18 16:25:16 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  9c8482e9e3459ee429ce093b6038b0ed49949c1b (commit)
       via  4bfff3c8b608bf174e2accd39f7c56d8f827bf2b (commit)
      from  cb4ef1ea12789af09fe9a6634012cf0f3797a56a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9c8482e9e3459ee429ce093b6038b0ed49949c1b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9c8482e9e3459ee429ce093b6038b0ed49949c1b
Author: Jesse Gross <jesse at nicira.com>
		
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 at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 4bfff3c8b608bf174e2accd39f7c56d8f827bf2b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4bfff3c8b608bf174e2accd39f7c56d8f827bf2b
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Add version check for struct netdev_ops.
		
Linux 3.1 drops the symbol HAVE_NET_DEVICE_OPS that lets us know
whether struct netdev_ops is present.  As a result, we need to
replace it with an explicit version check.

Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/linux/compat/include/linux/if.h |    4 ++++
 datapath/vport-internal_dev.c            |    5 +++++
 2 files changed, 9 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list