[ovs-git] Open vSwitch: datapath: Introduce more compat support for <net/netlink.h>. (master)
dev at openvswitch.org
dev at openvswitch.org
Mon Dec 13 18:21:20 UTC 2010
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 77479a0e1b1bb9fa20db4c192ab11a773b7c5077 (commit)
via f307eeb37640adb92cf92eb61ec26ac9ac30ac97 (commit)
via 9f94f8fa2fe53e241b6417056e04d45ca7b577f5 (commit)
via 78d18dbb55dcbcf0a59bc93b0c023ab7708d974c (commit)
via 0f34eb123011f848083b49384ac82e5a57c8c5d1 (commit)
via 3f2dd2b10b6f8473fc9ba0637c955d13e2e35a38 (commit)
from a4c1a933e99f9df7d700c72fddb8e05f94e6f7c8 (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 77479a0e1b1bb9fa20db4c192ab11a773b7c5077
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=77479a0e1b1bb9fa20db4c192ab11a773b7c5077
Author: Ben Pfaff <blp at nicira.com>
datapath: Introduce more compat support for <net/netlink.h>.
With this commit, I have successfully built the datapath, without warnings,
on 2.6.{18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,36} on i386,
2.6.31 on x86-64, and the kernels included with XenServer 5.5.0 and (some
prerelease kernel for) XenServer 5.6.0.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
commit f307eeb37640adb92cf92eb61ec26ac9ac30ac97
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f307eeb37640adb92cf92eb61ec26ac9ac30ac97
Author: Ben Pfaff <blp at nicira.com>
datapath: Add compat support for nla_type().
The datapath code uses nla_type() but it was only introduced in 2.6.24.
The NLA_TYPE_MASK definition has to go above the #include <net/netlink.h>
because <net/netlink.h> recursively #include <linux/netlink.h>.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
commit 9f94f8fa2fe53e241b6417056e04d45ca7b577f5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9f94f8fa2fe53e241b6417056e04d45ca7b577f5
Author: Ben Pfaff <blp at nicira.com>
datapath: Include <linux/skbuff.h> directly into linux/ip.h compat.
While doing test builds on numerous kernel versions I found that one build
failed because skb_network_header() wasn't visible from flow.h. I guess
that we accidentally depend on <linux/netlink.h> being included indirectly,
but this didn't always happen.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
commit 78d18dbb55dcbcf0a59bc93b0c023ab7708d974c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=78d18dbb55dcbcf0a59bc93b0c023ab7708d974c
Author: Ben Pfaff <blp at nicira.com>
datapath: Include <linux/netlink.h> directly into flow.h.
While doing test builds on numerous kernel versions I found that one build
failed because "struct nlattr" wasn't visible from flow.h. I guess that
we accidentally depend on <linux/netlink.h> being included indirectly, but
this didn't always happen.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
commit 0f34eb123011f848083b49384ac82e5a57c8c5d1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0f34eb123011f848083b49384ac82e5a57c8c5d1
Author: Ben Pfaff <blp at nicira.com>
datapath: Fix off-by-one error in dev_get_stats() compat code.
dev_get_stats() was introduced in 2.6.29, not 2.6.28.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
commit 3f2dd2b10b6f8473fc9ba0637c955d13e2e35a38
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3f2dd2b10b6f8473fc9ba0637c955d13e2e35a38
Author: Ben Pfaff <blp at nicira.com>
datapath: Fix csum_replace4() compatibility implementation.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
datapath/flow.h | 1 +
datapath/linux-2.6/compat-2.6/include/linux/ip.h | 1 +
.../linux-2.6/compat-2.6/include/linux/netlink.h | 8 ++-
.../linux-2.6/compat-2.6/include/net/checksum.h | 2 +-
.../linux-2.6/compat-2.6/include/net/netlink.h | 61 +++++++++++++++++++-
datapath/linux-2.6/compat-2.6/netdevice.c | 6 +-
6 files changed, 71 insertions(+), 8 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list