[ovs-git] Open vSwitch: datapath: Fix alignment of struct sw_flow_key. (branch-2.0)

dev at openvswitch.org dev at openvswitch.org
Thu Sep 5 20:05:05 UTC 2013


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, branch-2.0 has been updated
       via  369ff4ed7a73813a8a7c7bf19a5d41d76d6bc154 (commit)
      from  148a59afa8622f11f7a99617af62ddf9e59bec40 (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 369ff4ed7a73813a8a7c7bf19a5d41d76d6bc154
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=369ff4ed7a73813a8a7c7bf19a5d41d76d6bc154
Author: Jesse Gross <jesse at nicira.com>
		
datapath: Fix alignment of struct sw_flow_key.
		
sw_flow_key alignment was declared as " __aligned(__alignof__(long))".
However, this breaks on the m68k architecture where long is 32 bit in
size but 16 bit aligned by default. This aligns to the size of a long to
ensure that we can always do comparsions in full long-sized chunks. It
also adds an additional build check to catch any reduction in alignment.

CC: Andy Zhou <azhou at nicira.com>
Reported-by: Fengguang Wu <fengguang.wu at intel.com>
Reported-by: Geert Uytterhoeven <geert at linux-m68k.org>
Signed-off-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/flow.c |    1 +
 datapath/flow.h |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list