summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2014-11-26 13:42:19 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-26 15:29:01 -0500
commit6f705d8cfc0af3607aed890c53d86255e315c6f4 (patch)
tree0da77e3771aec6ddfa19b2ff2cfe7361e7fa9d99
parent4ea85e831e290cd967d161c66d0a3cf8be39f1f6 (diff)
downloadlinux-6f705d8cfc0af3607aed890c53d86255e315c6f4.tar.gz
linux-6f705d8cfc0af3607aed890c53d86255e315c6f4.tar.bz2
linux-6f705d8cfc0af3607aed890c53d86255e315c6f4.zip
bridge: Add missing policy entry for IFLA_BRPORT_FAST_LEAVE
Fixes: c2d3babf ("bridge: implement multicast fast leave") Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/bridge/br_netlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c
index 2ff9706647f2..e5ec470b851f 100644
--- a/net/bridge/br_netlink.c
+++ b/net/bridge/br_netlink.c
@@ -280,6 +280,7 @@ static const struct nla_policy br_port_policy[IFLA_BRPORT_MAX + 1] = {
[IFLA_BRPORT_MODE] = { .type = NLA_U8 },
[IFLA_BRPORT_GUARD] = { .type = NLA_U8 },
[IFLA_BRPORT_PROTECT] = { .type = NLA_U8 },
+ [IFLA_BRPORT_FAST_LEAVE]= { .type = NLA_U8 },
[IFLA_BRPORT_LEARNING] = { .type = NLA_U8 },
[IFLA_BRPORT_UNICAST_FLOOD] = { .type = NLA_U8 },
};