[MCAST]: ip[6]_mc_add_src should be called when number of sources is zero
authorYan Zheng <yanzheng@21cn.com>
Fri, 28 Oct 2005 00:02:08 +0000 (08:02 +0800)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Wed, 2 Nov 2005 23:03:57 +0000 (21:03 -0200)
commit8713dbf05754aa777f31bf491cb60a111f7ad828
tree543da2e27a18d1deddfcccf503db882d2f6d2566
parentec1890c5df451799dec969a3581ff72e1934b5ee
[MCAST]: ip[6]_mc_add_src should be called when number of sources is zero

And filter mode is exclude.

Further explanation by David Stevens:

Multicast source filters aren't widely used yet, and that's really the only
feature that's affected if an application actually exercises this bug, as far
as I can tell. An ordinary filter-less multicast join should still work, and
only forwarded multicast traffic making use of filters and doing empty-source
filters with the MSFILTER ioctl would be at risk of not getting multicast
traffic forwarded to them because the reports generated would not be based on
the correct counts.

Signed-off-by: Yan Zheng <yanzheng@21cn.com
Acked-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/ipv4/igmp.c
net/ipv6/mcast.c