igmpproxy: Multiple downlink interfaces fix.
authorJohn Crispin <john@openwrt.org>
Tue, 17 Mar 2015 09:43:07 +0000 (09:43 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 17 Mar 2015 09:43:07 +0000 (09:43 +0000)
commite896a31b9041fd109f4f978c877caf88884d1b89
tree02acabb9808360f1e6189a3efeae2556c0a07e17
parentbe6fb89dbc5ba2c6538718b73b3d01bb57bd1cbb
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>
SVN-Revision: 44859
package/network/services/igmpproxy/patches/250-fix_multiple_downlink_interfaces.patch [new file with mode: 0644]