[IPV4]: fix IPv4 leave-group group matching
authorDavid L Stevens <dlstevens@us.ibm.com>
Sat, 9 Jul 2005 00:48:38 +0000 (17:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2005 00:48:38 +0000 (17:48 -0700)
commit84b42baef775b0e3415ccece17cf694f50326d01
tree6a810c38fcd8f02db57482019264089e99db2d31
parent9951f036fe8a4e6b21962559c64ff13b290ff01a
[IPV4]: fix IPv4 leave-group group matching

        This patch fixes the multicast group matching for
IP_DROP_MEMBERSHIP, similar to the IP_ADD_MEMBERSHIP fix in a prior
patch. Groups are identifiedby <group address,interface> and including
the interface address in the match will fail if a leave-group is done
by address when the join was done by index, or if different addresses
on the same interface are used in the join and leave.

Signed-off-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c