Nikolay Aleksandrov
2017-Nov-13 16:30 UTC
[Bridge] [PATCH net] 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 at cumulusnetworks.com> Fixes: efa5356b0d97 ("bridge: per vlan dst_metadata netlink support") Signed-off-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com> --- net/bridge/br_netlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c index de2152730809..adc095c5703f 100644 --- a/net/bridge/br_netlink.c +++ b/net/bridge/br_netlink.c @@ -637,6 +637,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 }, }; /* Change the state of the port and notify spanning tree */ -- 2.1.4
Roopa Prabhu
2017-Nov-13 18:04 UTC
[Bridge] [PATCH net] net: bridge: add vlan_tunnel to bridge port policies
On Mon, Nov 13, 2017 at 8:30 AM, Nikolay Aleksandrov <nikolay at cumulusnetworks.com> wrote:> Found another missing port flag policy entry for IFLA_BRPORT_VLAN_TUNNEL > so add it now. > > CC: Roopa Prabhu <roopa at cumulusnetworks.com> > Fixes: efa5356b0d97 ("bridge: per vlan dst_metadata netlink support") > Signed-off-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>Acked-by: Roopa Prabhu <roopa at cumulusnetworks.com> Thanks Nikolay
David Miller
2017-Nov-14 12:56 UTC
[Bridge] [PATCH net] net: bridge: add vlan_tunnel to bridge port policies
From: Nikolay Aleksandrov <nikolay at cumulusnetworks.com> Date: Mon, 13 Nov 2017 18:30:55 +0200> Found another missing port flag policy entry for IFLA_BRPORT_VLAN_TUNNEL > so add it now. > > CC: Roopa Prabhu <roopa at cumulusnetworks.com> > Fixes: efa5356b0d97 ("bridge: per vlan dst_metadata netlink support") > Signed-off-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>Applied.