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

dev at openvswitch.org dev at openvswitch.org
Thu Sep 5 20:04:39 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, master has been updated
       via  9a6fe4c1ae510f1ee9fb382e285a11a5d8e2722b (commit)
      from  646b2a9c80fc14f6b7efc8a978bd58c25ffdd49b (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 9a6fe4c1ae510f1ee9fb382e285a11a5d8e2722b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9a6fe4c1ae510f1ee9fb382e285a11a5d8e2722b
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