[ovs-git] Open vSwitch: datapath-protocol: Include netlink.h. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Dec 13 19:09:24 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  8e801baacf583059c918f3eb194d86d0f95e8092 (commit)
       via  a2973b1a8b539e0f7fbd1f9fbb090b406484c1bb (commit)
       via  e5fccb40da338a68fd6360e4de1d65a526c9d1d1 (commit)
       via  cf22f8cba328c0fb47a7e6811563f773fc232904 (commit)
       via  dd2cb550e56ddc937b917e29a5ccdb920787c7ef (commit)
      from  40796b34abcf5ecda6b5283961ed26e28f7ae32e (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 8e801baacf583059c918f3eb194d86d0f95e8092
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8e801baacf583059c918f3eb194d86d0f95e8092
Author: Jesse Gross <jesse at nicira.com>
		
datapath-protocol: Include netlink.h.
		
On older kernels that don't have if_link.h, we use our own, limited
version.  This version doesn't include the netlink header, causing
problems where we were relying on it to define the types in
datapath-protocol.h.  Therefore, directly include it, since it is
better to be explicit about it anyways.

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


commit a2973b1a8b539e0f7fbd1f9fbb090b406484c1bb
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a2973b1a8b539e0f7fbd1f9fbb090b406484c1bb
Author: Jesse Gross <jesse at nicira.com>
		
pinsched: Avoid uninitialized variable warning.
		
Some compilers warn about the variable 'n_longest' in drop_packet()
being used uninitialized.  This isn't actually possible but explicitly
set it to zero to avoid spurious warnings.


commit e5fccb40da338a68fd6360e4de1d65a526c9d1d1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e5fccb40da338a68fd6360e4de1d65a526c9d1d1
Author: Jesse Gross <jesse at nicira.com>
		
nx-match: Use correct printf format specifiers.
		
A few of the printf format specifiers didn't match the type that
they were printing.  On 32-bit platforms there is some overlap
but on 64-bit they cause a mismatch.


commit cf22f8cba328c0fb47a7e6811563f773fc232904
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=cf22f8cba328c0fb47a7e6811563f773fc232904
Author: Jesse Gross <jesse at nicira.com>
		
vswitchd: Consistently use size_t for action lengths.
		
Currently the type of the datapath action length is mixture of
size_t and unsigned int.  However, size_t is really defined as an
unsigned long, which causes the build to fail on 64-bit platforms.
This consistently uses size_t.


commit dd2cb550e56ddc937b917e29a5ccdb920787c7ef
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=dd2cb550e56ddc937b917e29a5ccdb920787c7ef
Author: Jesse Gross <jesse at nicira.com>
		
flow: Make size of flow struct a multiple of 8.
		
The compiler wants to pad structures to a multiple of the native
datatype for the architecture, so a multiple of 4 on 32-bit platforms
and a multiple of 8 on 64-bit.  Currently the size struct flow is
a multiple of 4, so the total size with padding varies depending on
the architecture, causing build asserts to fail.  This explicitly pads
it out to a multiple of 8 for consistency.


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

Summary of changes:
 include/linux/if_link.h                 |    1 +
 include/openvswitch/datapath-protocol.h |    1 +
 lib/dpif-linux.c                        |    2 +-
 lib/dpif-netdev.c                       |   10 +++++-----
 lib/dpif.c                              |    2 +-
 lib/flow.h                              |    3 ++-
 lib/nx-match.c                          |    4 ++--
 lib/odp-util.c                          |    2 +-
 ofproto/in-band.c                       |    2 +-
 ofproto/in-band.h                       |    2 +-
 ofproto/ofproto.c                       |    4 ++--
 ofproto/pinsched.c                      |    2 +-
 vswitchd/bridge.c                       |    2 +-
 13 files changed, 20 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list