[ovs-git] Open vSwitch: datapath: Tolerate backporting of rtnl_link_stats64 (as in RHEL 6). (master)

dev at openvswitch.org dev at openvswitch.org
Fri Feb 4 20:36:40 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  1269f7ae5f4bf23205de2cd45220b2382af78393 (commit)
      from  5e5ce0741f8b7dbee54d1407e7b0af5ee813b38f (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 1269f7ae5f4bf23205de2cd45220b2382af78393
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1269f7ae5f4bf23205de2cd45220b2382af78393
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Tolerate backporting of rtnl_link_stats64 (as in RHEL 6).
		
Red Hat Enterprise Linux 6 has a 2.6.32 kernel but it backports the
rtnl_link_stats64 structure that was introduced in 2.6.35, so we need to
check whether it was defined instead of just guessing based on the kernel
version number.

Build-tested only, on 2.6.32-71.14.1.el6 (RHEL 6),
linux-2.6.18-128.1.6.el5.xs5.5.0.496.101 (XenServer 5.5.0),
2.6.18-128.1.6.el5.xs5.5.0.505.1024xen (XenServer 5.5.0 update 1),
and upstream 2.6.18, 2.6.26, 2.6.29, 2.6.33, 2.6.34, 2.6.36, all for i386,
plus 2.6.36 for x86-64.

My machine's userspace headers have <linux/if_link.h> but not
rtnl_link_stats64.  Jesse Gross tested the case where <linux/if_link.h>
has rtnl_link_stats64, on Ubuntu 10.10.

Reported-by: Geoff White <gwhite at nicira.com>
Tested-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 acinclude.m4            |    2 ++
 configure.ac            |    3 ++-
 include/linux/if_link.h |    9 ++++++---
 m4/openvswitch.m4       |   21 ++++++++++++++++++++-
 4 files changed, 30 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list