]> git.baikalelectronics.ru Git - kernel.git/commit
NET: am79c961: ensure multicast filter is correctly set at open
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Fri, 10 Jun 2011 00:52:14 +0000 (00:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2011 22:56:00 +0000 (15:56 -0700)
commit6bc1431aff43038e19da36a8c0049d8d5ec5b876
tree4fb3306a4eff794bc2f6c1c48971e328026a334b
parentb6588052558be9d09fd61aa9b301472bc80cbe1c
NET: am79c961: ensure multicast filter is correctly set at open

We were clearing out the multicast filter whenever the interface was
upped, and not setting the mode bits correctly.  This can cause
problems if there are any multicast addresses already set at this
point, or if ALLMULTI was set.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arm/am79c961a.c