projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f66d744
)
eepro: fix netdev_mc_count conversion
author
Alexander Beregalov
<a.beregalov@gmail.com>
Sun, 21 Feb 2010 02:48:25 +0000
(18:48 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 21 Feb 2010 02:48:25 +0000
(18:48 -0800)
Fix commit
4cd24eaf0
(net: use netdev_mc_count and netdev_mc_empty when
appropriate)
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/eepro.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/eepro.c
b/drivers/net/eepro.c
index 488bc13cc7e667967176838d11fc1aaa26f143e9..5f73ab22db16fa71b6043e35c4c7c9863707c963 100644
(file)
--- a/
drivers/net/eepro.c
+++ b/
drivers/net/eepro.c
@@
-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)
{