From: Daniele Di Proietto Date: Tue, 11 Nov 2014 22:51:22 +0000 (-0800) Subject: openvswitch: Fix NDP flow mask validation X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~83^2~17^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19e7a3df7261c9b7ebced8163c383712d5b6ac6b;p=pandora-kernel.git openvswitch: 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 Introduced by commit 03f0d916aa03 ("openvswitch: Mega flow implementation"). Signed-off-by: Daniele Di Proietto Signed-off-by: Pravin B Shelar --- Reading git-diff-tree failed