aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br_netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c
index d1dda476d743..27aa3ee517ce 100644
--- a/net/bridge/br_netlink.c
+++ b/net/bridge/br_netlink.c
@@ -217,7 +217,7 @@ out:
217 return err; 217 return err;
218} 218}
219 219
220const struct nla_policy ifla_br_policy[IFLA_MAX+1] = { 220static const struct nla_policy ifla_br_policy[IFLA_MAX+1] = {
221 [IFLA_BRIDGE_FLAGS] = { .type = NLA_U16 }, 221 [IFLA_BRIDGE_FLAGS] = { .type = NLA_U16 },
222 [IFLA_BRIDGE_MODE] = { .type = NLA_U16 }, 222 [IFLA_BRIDGE_MODE] = { .type = NLA_U16 },
223 [IFLA_BRIDGE_VLAN_INFO] = { .type = NLA_BINARY, 223 [IFLA_BRIDGE_VLAN_INFO] = { .type = NLA_BINARY,
@@ -463,7 +463,7 @@ static size_t br_get_link_af_size(const struct net_device *dev)
463 return pv->num_vlans * nla_total_size(sizeof(struct bridge_vlan_info)); 463 return pv->num_vlans * nla_total_size(sizeof(struct bridge_vlan_info));
464} 464}
465 465
466struct rtnl_af_ops br_af_ops = { 466static struct rtnl_af_ops br_af_ops = {
467 .family = AF_BRIDGE, 467 .family = AF_BRIDGE,
468 .get_link_af_size = br_get_link_af_size, 468 .get_link_af_size = br_get_link_af_size,
469}; 469};