]> 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)
commitb6c02ef549134d7bf14fa3835ad2bd3738982689
tree54bb9bf0a4adb6b69fd2640aa01142ad2fbc96c4
parentd91dc434f2baa592e9793597421231174d57bbbf
bridge: Netlink interface fix.

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

Fixes: 36a8e8e265420 ("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