]> git.baikalelectronics.ru Git - kernel.git/commit
team: add missing attribute validation for port ifindex
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:05:21 +0000 (21:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 21:28:48 +0000 (13:28 -0800)
commitad8de080dcda7eb2a039613d706db92e971ea39b
tree7b10456aef45baee2e4e0f9192850984d2968f66
parentd74b20e8a5f8784dd049619c77c4e280d88ef8e9
team: add missing attribute validation for port ifindex

Add missing attribute validation for TEAM_ATTR_OPTION_PORT_IFINDEX
to the netlink policy.

Fixes: 032d7bd2513f ("team: add support for per-port 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