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

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, branch-2.0 has been updated
       via  b3148d080b368eb2159a756fef702839b0ecddfe (commit)
      from  8f037d1f76033d6398282b1fcb825b0d6c170402 (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 b3148d080b368eb2159a756fef702839b0ecddfe
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b3148d080b368eb2159a756fef702839b0ecddfe
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.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list