r6040: Fix multicast list iteration when hash filter is used
authorBen Hutchings <ben@decadent.org.uk>
Fri, 15 Oct 2010 03:36:53 +0000 (04:36 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Oct 2010 04:04:17 +0000 (21:04 -0700)
commitc52425062aebe084f6c7893bf7a153f403ce910b
treec3ff223e29be0b70f4dc295907bcf61e87a09fb4
parent1ad2b6fea2210ab7ddd3e9e48dfad01ce8e84a11
r6040: Fix multicast list iteration when hash filter is used

This was fixed in mainline by the interface change made in commit
f9dcbcc9e338d08c0f7de7eba4eaafbbb7f81249.

After walking the multicast list to set up the hash filter, this
function will walk off the end of the list when filling the
exact-match entries.  This was fixed in mainline by the interface
change made in commit f9dcbcc9e338d08c0f7de7eba4eaafbbb7f81249.

Reported-by: spamalot@hispeed.ch
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=15355
Reported-by: Jason Heeris <jason.heeris@gmail.com>
Reference: http://bugs.debian.org/600155
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/r6040.c