]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Fix MPLS action validation.
authorPravin B Shelar <pshelar@nicira.com>
Wed, 24 Dec 2014 00:20:20 +0000 (16:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Dec 2014 04:57:31 +0000 (23:57 -0500)
commit5dbf588d0259129f8abf3aa7e19ba9faf1351d14
tree72c16e7da944f57780616b50fb40339896c95fd5
parent11fb6846b6d62d977e32abc56fc701a8c3b62640
openvswitch: Fix MPLS action validation.

Linux stack does not implement GSO for packet with multiple
encapsulations.  Therefore there was check in MPLS action
validation to detect such case, But this check introduced
bug which deleted one or more actions from actions list.
Following patch removes this check to fix the validation.

Fixes: 21f78ef9ea8 ("openvswitch: Add basic MPLS support to
kernel").

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Reported-by: Srinivas Neginhal <sneginha@vmware.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/flow_netlink.c