]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6f955d3e931374df0a03ddc2506041f0304f100
treebe5697281168c7fdad8290ddb1d86d663683855c
parentad8de080dcda7eb2a039613d706db92e971ea39b
team: add missing attribute validation for array index

Add missing attribute validation for TEAM_ATTR_OPTION_ARRAY_INDEX
to the netlink policy.

Fixes: 6e1a56367a64 ("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