commit | 7470558240330f04dbf940430813233935314f78 | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@nvidia.com> | Fri Sep 25 13:25:49 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 25 16:50:19 2020 -0700 |
tree | a4511aa2b8d6ab942a55f2f78f967e9c00fe5468 | |
parent | e0f9956a3862b32ad73869a8e52a33c84aafa46f [diff] |
net: bridge: mcast: remove only S,G port groups from sg_port hash 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") Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>