diff options
Diffstat (limited to 'net/openvswitch/flow_netlink.c')
-rw-r--r-- | net/openvswitch/flow_netlink.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_netlink.c index ae25ded82b3b..ccb9900c5230 100644 --- a/net/openvswitch/flow_netlink.c +++ b/net/openvswitch/flow_netlink.c | |||
@@ -1059,6 +1059,11 @@ static int metadata_from_nlattrs(struct net *net, struct sw_flow_match *match, | |||
1059 | sizeof(*cl), is_mask); | 1059 | sizeof(*cl), is_mask); |
1060 | *attrs &= ~(1ULL << OVS_KEY_ATTR_CT_LABELS); | 1060 | *attrs &= ~(1ULL << OVS_KEY_ATTR_CT_LABELS); |
1061 | } | 1061 | } |
1062 | |||
1063 | /* Always exact match mac_proto */ | ||
1064 | SW_FLOW_KEY_PUT(match, mac_proto, is_mask ? 0xff : MAC_PROTO_ETHERNET, | ||
1065 | is_mask); | ||
1066 | |||
1062 | return 0; | 1067 | return 0; |
1063 | } | 1068 | } |
1064 | 1069 | ||