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)
commit29c3611294c6641c079111b229b138c5f7a48f2b
treede814ea0b375c0abf46498e447a7dc2e106b5f51
parent0a0cca5fdb4079ba8c82794006663d08a0ebe816
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]