|
@@ -3030,7 +3030,7 @@ static int __ovs_nla_copy_actions(struct net *net, const struct nlattr *attr,
|
|
|
* is already present */
|
|
|
if (mac_proto != MAC_PROTO_NONE)
|
|
|
return -EINVAL;
|
|
|
- mac_proto = MAC_PROTO_NONE;
|
|
|
+ mac_proto = MAC_PROTO_ETHERNET;
|
|
|
break;
|
|
|
|
|
|
case OVS_ACTION_ATTR_POP_ETH:
|
|
@@ -3038,7 +3038,7 @@ static int __ovs_nla_copy_actions(struct net *net, const struct nlattr *attr,
|
|
|
return -EINVAL;
|
|
|
if (vlan_tci & htons(VLAN_TAG_PRESENT))
|
|
|
return -EINVAL;
|
|
|
- mac_proto = MAC_PROTO_ETHERNET;
|
|
|
+ mac_proto = MAC_PROTO_NONE;
|
|
|
break;
|
|
|
|
|
|
case OVS_ACTION_ATTR_PUSH_NSH:
|