datapath: Fix MPLS action validation.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 19 Dec 2014 09:55:45 +0000 (01:55 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 19 Dec 2014 20:27:38 +0000 (12:27 -0800)
commit92a39735650c43a738af53418feb3214231ec97a
tree56a91443199f9632a9b8b9d52e30589fc2e7805b
parent5af43325c9f78cd4617ee3dc5c7aa746e9c2a2c0
datapath: Fix MPLS action validation.

Linux stack do not allow GSO for packet with multiple
encapsulations.  Therefore there was check in MPLS action
validation to detect such case, But it is better to add
such check at run time to detect such cases.
Removing this check also fixes bug in action copy to no skip
multiple set actions.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Reported-by: Srinivas Neginhal <sneginha@vmware.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Bug #1367702
datapath/flow_netlink.c
datapath/linux/compat/include/net/gre.h
datapath/linux/compat/include/net/vxlan.h
datapath/vport-lisp.c