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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:53 +0000 (11:40 -0700)
commit2ce655e2c1e821c6681bb0001c8a0add874647ec
tree2ab68ce15fec2c419a312be6e69381caedc9531a
parentea918c963323df0ad0d5052702b76c3230bf414d
mcast: Fix source address selection for multicast listener report

[ Upstream commit e05c4ad3ed874ee4f5e2c969e55d318ec654332c ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/igmp.c
net/ipv6/mcast.c