eepro: fix netdev_mc_count conversion
Subsystems (2)
PATCH 1/1 eepro: fix netdev_mc_count conversion
Fix commit 4cd24eaf0 (net: use netdev_mc_count and netdev_mc_empty when appropriate)
Cc Jiri Pirko <[email protected]>
Signed-off-by Alexander Beregalov <[email protected]>
--- drivers/net/eepro.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/eepro.c +1 -1
@@ -1288,7 +1288,7 @@ set_multicast_list(struct net_device *dev)short ioaddr = dev->base_addr;unsigned short mode;struct dev_mc_list *dmi=dev->mc_list; -int mc_count = mc_count; +int mc_count =netdev_mc_count (dev);if (dev->flags&(IFF_ALLMULTI |IFF_PROMISC ) || mc_count >63 ) {
Signature · 1 line
1.7.0
From: Alexander Beregalov <[email protected]>
Date: Sun, 21 Feb 2010 05:37:16 +0300
Quoted 5 lines
Fix commit
4cd24eaf0(net: usenetdev_mc_countandnetdev_mc_emptywhen appropriate)Cc Jiri Pirko <[email protected]>Signed-off-by Alexander Beregalov <[email protected]>
Applied, thanks Alexander.