Thread (20 messages) flat view 20 messages, 2 authors, 2022-12-06

Re: [PATCH net-next 7/8] bridge: mcast: Move checks out of critical section

From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2022-12-05 11:44:31
Also in: bridge

On 05/12/2022 09:42, Ido Schimmel wrote:
The checks only require information parsed from the RTM_NEWMDB netlink
message and do not rely on any state stored in the bridge driver.
Therefore, there is no need to perform the checks in the critical
section under the multicast lock.

Move the checks out of the critical section.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
---
 net/bridge/br_mdb.c | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help