team: add missing attribute validation for array index
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:05:22 +0000 (21:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 21:28:48 +0000 (13:28 -0800)
commit669fcd7795900cd1880237cbbb57a7db66cb9ac8
treebe5697281168c7fdad8290ddb1d86d663683855c
parentdd25cb272ccce4db67dc8509278229099e4f5e99
team: add missing attribute validation for array index

Add missing attribute validation for TEAM_ATTR_OPTION_ARRAY_INDEX
to the netlink policy.

Fixes: b13033262d24 ("team: introduce array options")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c