summaryrefslogtreecommitdiffstats
path: root/net/nfc/digital_core.c
diff options
context:
space:
mode:
authorOleksandr Mazur <oleksandr.mazur@plvision.eu>2022-02-15 18:53:03 +0200
committerJakub Kicinski <kuba@kernel.org>2022-02-16 20:35:00 -0800
commitc832962ac972082b3a1f89775c9d4274c8cb5670 (patch)
tree67167ce6c88a856a25ac67bcc3690b42e3249550 /net/nfc/digital_core.c
parent8d2b1a1ec9f559d30b724877da4ce592edc41fdc (diff)
downloadlinux-c832962ac972082b3a1f89775c9d4274c8cb5670.tar.gz
linux-c832962ac972082b3a1f89775c9d4274c8cb5670.tar.bz2
linux-c832962ac972082b3a1f89775c9d4274c8cb5670.zip
net: bridge: multicast: notify switchdev driver whenever MC processing gets disabled
Whenever bridge driver hits the max capacity of MDBs, it disables the MC processing (by setting corresponding bridge option), but never notifies switchdev about such change (the notifiers are called only upon explicit setting of this option, through the registered netlink interface). This could lead to situation when Software MDB processing gets disabled, but this event never gets offloaded to the underlying Hardware. Fix this by adding a notify message in such case. Fixes: 147c1e9b902c ("switchdev: bridge: Offload multicast disabled") Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu> Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com> Link: https://lore.kernel.org/r/20220215165303.31908-1-oleksandr.mazur@plvision.eu Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/nfc/digital_core.c')
0 files changed, 0 insertions, 0 deletions