mcast: Fix source address selection for multicast listener report
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 23 Aug 2011 22:54:37 +0000 (22:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Aug 2011 00:46:15 +0000 (17:46 -0700)
commite05c4ad3ed874ee4f5e2c969e55d318ec654332c
treed8563c03897fe5c84279327471feea8e2ef3ccca
parent814fd609fa98f3667974d8c27c4d75ef4ce041ea
mcast: Fix source address selection for multicast listener report

Should check use count of include mode filter instead of total number
of include mode filters.

Signed-off-by: Zheng Yan <zheng.z.yan@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c
net/ipv6/mcast.c