Re: [Bridge] [PATCH net-next] net: bridge: mcast: remove only S, G port groups from sg_port hash

2020-09-25 Thread David Miller
From: Nikolay Aleksandrov Date: Fri, 25 Sep 2020 13:25:49 +0300 > From: Nikolay Aleksandrov > > We should remove a group from the sg_port hash only if it's an S,G > entry. This makes it correct and more symmetric with group add. Also > since *,G groups are not added to that hash we can hide a

[Bridge] [PATCH net-next] net: bridge: mcast: remove only S, G port groups from sg_port hash

2020-09-25 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov We should remove a group from the sg_port hash only if it's an S,G entry. This makes it correct and more symmetric with group add. Also since *,G groups are not added to that hash we can hide a bug. Fixes: 085b53c8beab ("net: bridge: mcast: add sg_port rhashtable")