igmpproxy: Multiple downlink interfaces fix.
authorJohn Crispin <blogic@openwrt.org>
Tue, 17 Mar 2015 09:43:07 +0000 (09:43 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 17 Mar 2015 09:43:07 +0000 (09:43 +0000)
commit05ec2ad883cadbd9633c4acc24f89afb292964aa
tree02acabb9808360f1e6189a3efeae2556c0a07e17
parent6aab9203e996b37c9ad607d9c50fe4e5d0149b58
igmpproxy: Multiple downlink interfaces fix.

from Erik Tews <erik@datenzone.de>

This patch has two effects. First, the quickleave feature/behaviour is
disabled for all groups that are used on more than one interface. The
idea of quickleave is to leave a group fast and later figure out whether
there is still somebody interested in that group. For groups used on
more than one interface, it is already known that there is still
somebody interested in that group.

Second, when a leave is received for a group that is used on more than
one interface, igmpproxy sends queries on all interface to discover
remeining listeners for that group. Previously these queries were only
send on the interface the leave was received on, so that listeners on
the other interfaces were not discovered and the group might be left on
the upstream router incorrectly.

This patch can be improved by sending the queries only on the interface
the leave was received on and adapting the algorithm in
internAgeRoute(...) in rttable.c in a way that only one interface is
actually processed and all other interfaces of the route are silently
assumed to be still active.

Signed-off-by: Erik Tews <erik@datenzone.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44859 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/igmpproxy/patches/250-fix_multiple_downlink_interfaces.patch [new file with mode: 0644]