diff options
-rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 5cf39cd7da85..2be10181d583 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -1132,6 +1132,8 @@ static const struct nla_policy ifla_vf_policy[IFLA_VF_MAX+1] = { | |||
1132 | .len = sizeof(struct ifla_vf_vlan) }, | 1132 | .len = sizeof(struct ifla_vf_vlan) }, |
1133 | [IFLA_VF_TX_RATE] = { .type = NLA_BINARY, | 1133 | [IFLA_VF_TX_RATE] = { .type = NLA_BINARY, |
1134 | .len = sizeof(struct ifla_vf_tx_rate) }, | 1134 | .len = sizeof(struct ifla_vf_tx_rate) }, |
1135 | [IFLA_VF_SPOOFCHK] = { .type = NLA_BINARY, | ||
1136 | .len = sizeof(struct ifla_vf_spoofchk) }, | ||
1135 | }; | 1137 | }; |
1136 | 1138 | ||
1137 | static const struct nla_policy ifla_port_policy[IFLA_PORT_MAX+1] = { | 1139 | static const struct nla_policy ifla_port_policy[IFLA_PORT_MAX+1] = { |