[ovs-git] Open vSwitch: datapath: IFF_OVS_DATAPATH is backported by RHEL 6.2. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jan 12 23:33:33 UTC 2012


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  e25c55d28f30b537aa657797c41483a9bab59b93 (commit)
      from  247527db0f3530480bde88c59c1fadd5d51505fc (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 e25c55d28f30b537aa657797c41483a9bab59b93
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e25c55d28f30b537aa657797c41483a9bab59b93
Author: Jesse Gross <jesse at nicira.com>
		
datapath: IFF_OVS_DATAPATH is backported by RHEL 6.2.
		
On kernels 2.6.37 and above IFF_OVS_DATAPATH has a unique value upstream,
on 2.6.36 we define it to be IFF_BRIDGE_PORT and below to 0.  There isn't
really a good reason to use IFF_BRIDGE_PORT on 2.6.36 (and it's perhaps
bad because it's checked in a few places and we don't want those checks
to trigger on just this kernel) and it makes it difficult to know what
value we should use in the face of backporting.  Therefore, this just
uses 0 on the places where we don't have a real value.

Reported-by: Benoit ML <ben42ml at gmail.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/linux/compat/include/linux/if.h |    6 ++----
 datapath/vport-netdev.c                  |    2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list