kernelkit / infix

Linux :yellow_heart: NETCONF = Infix
https://kernelkit.org
GNU General Public License v2.0
46 stars 12 forks source link

Odd bridge port fastleave behavior #452

Open troglobit opened 4 months ago

troglobit commented 4 months ago

Currently an IGMP/MLD device that sends "leave" will cause the bridge to drop the multicast traffic immediately from the port, regardless of the port's fastleave setting.

The expected default behavior (when fastleave is disabled) is to wait one QRI (query response interval), 10 sec., before removing the port from the MDB filter.

troglobit commented 2 months ago

My current guess is that the bridge tracks join/leave for all hosts and groups on a port (IGMPv3/MLDv2) and then decides to just remove the group from the port when there are no more subscribers. I have not verified if the behavior is different when the port is in IGMPv2/MLDv1, or if the bridge sends a group specific query or not, but in my opinion it is not optional to not wait QRI unless fastleave is set (that's the option).