[ovs-git] Open vSwitch: datapath/flow_netlink: Fix NDP flow mask validation (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jul 10 20:04:15 UTC 2014


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  560f30990f6ac2c56eb061061b26b44ee2bd4dfd (commit)
      from  b925336a36e6041b006d59ef78e91c5c13be62ba (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 560f30990f6ac2c56eb061061b26b44ee2bd4dfd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=560f30990f6ac2c56eb061061b26b44ee2bd4dfd
Author: Daniele Di Proietto <ddiproietto at vmware.com>
		
datapath/flow_netlink: Fix NDP flow mask validation
		
match_validate() enforce that a mask matching on NDP attributes has also an
exact match on ICMPv6 type.
The ICMPv6 type, which is 8-bit wide, is stored in the 'tp.src' field of
'struct sw_flow_key', which is 16-bit wide.
Therefore, an exact match on ICMPv6 type should only check the first 8 bits.

This commit fixes a bug that prevented flows with an exact match on NDP field
from being installed

Signed-off-by: Daniele Di Proietto <ddiproietto at vmware.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


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

Summary of changes:
 datapath/flow_netlink.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list