diff options
| author | Mark Brown <broonie@kernel.org> | 2015-01-07 17:30:17 +0000 | 
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2015-01-07 17:30:17 +0000 | 
| commit | 1285c3fefaddedf5358f52cfde3c2b64d8086a04 (patch) | |
| tree | 361f556d6b400e8cb6d16738142db2f69f63ef2f /net/openvswitch/flow_netlink.c | |
| parent | 6b038c8d2b99b552f0b025c8a134f8a3c417a3e7 (diff) | |
| parent | b1940cd21c0f4abdce101253e860feff547291b0 (diff) | |
Merge tag 'v3.19-rc3' into spi-sh-msiof
Linux 3.19-rc3
Diffstat (limited to 'net/openvswitch/flow_netlink.c')
| -rw-r--r-- | net/openvswitch/flow_netlink.c | 13 | 
1 files changed, 1 insertions, 12 deletions
diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_netlink.c index 9645a21d9eaa..d1eecf707613 100644 --- a/net/openvswitch/flow_netlink.c +++ b/net/openvswitch/flow_netlink.c @@ -1753,7 +1753,6 @@ static int __ovs_nla_copy_actions(const struct nlattr *attr,  				  __be16 eth_type, __be16 vlan_tci, bool log)  {  	const struct nlattr *a; -	bool out_tnl_port = false;  	int rem, err;  	if (depth >= SAMPLE_ACTION_DEPTH) @@ -1796,8 +1795,6 @@ static int __ovs_nla_copy_actions(const struct nlattr *attr,  		case OVS_ACTION_ATTR_OUTPUT:  			if (nla_get_u32(a) >= DP_MAX_PORTS)  				return -EINVAL; -			out_tnl_port = false; -  			break;  		case OVS_ACTION_ATTR_HASH: { @@ -1832,12 +1829,6 @@ static int __ovs_nla_copy_actions(const struct nlattr *attr,  		case OVS_ACTION_ATTR_PUSH_MPLS: {  			const struct ovs_action_push_mpls *mpls = nla_data(a); -			/* Networking stack do not allow simultaneous Tunnel -			 * and MPLS GSO. -			 */ -			if (out_tnl_port) -				return -EINVAL; -  			if (!eth_p_mpls(mpls->mpls_ethertype))  				return -EINVAL;  			/* Prohibit push MPLS other than to a white list @@ -1873,11 +1864,9 @@ static int __ovs_nla_copy_actions(const struct nlattr *attr,  		case OVS_ACTION_ATTR_SET:  			err = validate_set(a, key, sfa, -					   &out_tnl_port, eth_type, log); +					   &skip_copy, eth_type, log);  			if (err)  				return err; - -			skip_copy = out_tnl_port;  			break;  		case OVS_ACTION_ATTR_SAMPLE:  | 
