]> 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)
commit26ee45e8ff99fc493fffdcb0aaa1225f5e9b9d98
tree72c16e7da944f57780616b50fb40339896c95fd5
parent55ace8b3d3ffab866b6e45c4010e31876684f3a0
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: 328cd9ca476 ("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