diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2017-11-13 18:30:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-14 21:54:55 +0900 |
commit | fbec443bfe44f58a40e00962e969b5a9cafde457 (patch) | |
tree | cb30612e1e985f5aaab14d838f78ace4cc399a1d | |
parent | 0d63785c6b94b5d2f095f90755825f90eea791f5 (diff) | |
download | linux-stable-fbec443bfe44f58a40e00962e969b5a9cafde457.tar.gz linux-stable-fbec443bfe44f58a40e00962e969b5a9cafde457.tar.bz2 linux-stable-fbec443bfe44f58a40e00962e969b5a9cafde457.zip |
net: bridge: add vlan_tunnel to bridge port policies
Found another missing port flag policy entry for IFLA_BRPORT_VLAN_TUNNEL
so add it now.
CC: Roopa Prabhu <roopa@cumulusnetworks.com>
Fixes: efa5356b0d97 ("bridge: per vlan dst_metadata netlink support")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/bridge/br_netlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c index 67bae0f11c67..d0ef0a8e8831 100644 --- a/net/bridge/br_netlink.c +++ b/net/bridge/br_netlink.c @@ -657,6 +657,7 @@ static const struct nla_policy br_port_policy[IFLA_BRPORT_MAX + 1] = { [IFLA_BRPORT_MCAST_TO_UCAST] = { .type = NLA_U8 }, [IFLA_BRPORT_MCAST_FLOOD] = { .type = NLA_U8 }, [IFLA_BRPORT_BCAST_FLOOD] = { .type = NLA_U8 }, + [IFLA_BRPORT_VLAN_TUNNEL] = { .type = NLA_U8 }, [IFLA_BRPORT_GROUP_FWD_MASK] = { .type = NLA_U16 }, [IFLA_BRPORT_NEIGH_SUPPRESS] = { .type = NLA_U8 }, }; |