]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: Netlink interface fix.
authorHenrik Bjoernlund <henrik.bjoernlund@microchip.com>
Wed, 7 Oct 2020 12:07:00 +0000 (12:07 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Oct 2020 19:05:07 +0000 (12:05 -0700)
commitcb8f2435c6edbe68341c635bb279db55613f2b80
tree54bb9bf0a4adb6b69fd2640aa01142ad2fbc96c4
parent4277a4a0fdf081316b210be12b32623828722eec
bridge: Netlink interface fix.

This commit is correcting NETLINK br_fill_ifinfo() to be able to
handle 'filter_mask' with multiple flags asserted.

Fixes: fa5ae315ff8c1 ("bridge: Extend br_fill_ifinfo to return MPR status")
Signed-off-by: Henrik Bjoernlund <henrik.bjoernlund@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Suggested-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bridge/br_netlink.c