aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/core/rtnetlink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index fbdb1556b0db..d57d7bc22182 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -1208,6 +1208,8 @@ static const struct nla_policy ifla_vf_policy[IFLA_VF_MAX+1] = {
1208 .len = sizeof(struct ifla_vf_tx_rate) }, 1208 .len = sizeof(struct ifla_vf_tx_rate) },
1209 [IFLA_VF_SPOOFCHK] = { .type = NLA_BINARY, 1209 [IFLA_VF_SPOOFCHK] = { .type = NLA_BINARY,
1210 .len = sizeof(struct ifla_vf_spoofchk) }, 1210 .len = sizeof(struct ifla_vf_spoofchk) },
1211 [IFLA_VF_LINK_STATE] = { .type = NLA_BINARY,
1212 .len = sizeof(struct ifla_vf_link_state) },
1211}; 1213};
1212 1214
1213static const struct nla_policy ifla_port_policy[IFLA_PORT_MAX+1] = { 1215static const struct nla_policy ifla_port_policy[IFLA_PORT_MAX+1] = {