diff options
| author | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 | 
|---|---|---|
| committer | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 | 
| commit | 62910554656cdcd6b6f84a5154c4155aae4ca231 (patch) | |
| tree | dcf14004f6fd2ef7154362ff948bfeba0f3ea92d /drivers/net/dl2k.c | |
| parent | 22265a5c3c103cf8c50be62e6c90d045eb649e6d (diff) | |
| parent | ab9304717f7624c41927f442e6b6d418b2d8b3e4 (diff) | |
Merge branch 'master' of /repos/git/net-next-2.6
Conflicts:
	Documentation/feature-removal-schedule.txt
	net/ipv6/netfilter/ip6t_REJECT.c
	net/netfilter/xt_limit.c
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'drivers/net/dl2k.c')
| -rw-r--r-- | drivers/net/dl2k.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c index b05bad829827..6579225dbd91 100644 --- a/drivers/net/dl2k.c +++ b/drivers/net/dl2k.c | |||
| @@ -1132,14 +1132,14 @@ set_multicast (struct net_device *dev) | |||
| 1132 | /* Receive broadcast and multicast frames */ | 1132 | /* Receive broadcast and multicast frames */ | 
| 1133 | rx_mode = ReceiveBroadcast | ReceiveMulticast | ReceiveUnicast; | 1133 | rx_mode = ReceiveBroadcast | ReceiveMulticast | ReceiveUnicast; | 
| 1134 | } else if (!netdev_mc_empty(dev)) { | 1134 | } else if (!netdev_mc_empty(dev)) { | 
| 1135 | struct dev_mc_list *mclist; | 1135 | struct netdev_hw_addr *ha; | 
| 1136 | /* Receive broadcast frames and multicast frames filtering | 1136 | /* Receive broadcast frames and multicast frames filtering | 
| 1137 | by Hashtable */ | 1137 | by Hashtable */ | 
| 1138 | rx_mode = | 1138 | rx_mode = | 
| 1139 | ReceiveBroadcast | ReceiveMulticastHash | ReceiveUnicast; | 1139 | ReceiveBroadcast | ReceiveMulticastHash | ReceiveUnicast; | 
| 1140 | netdev_for_each_mc_addr(mclist, dev) { | 1140 | netdev_for_each_mc_addr(ha, dev) { | 
| 1141 | int bit, index = 0; | 1141 | int bit, index = 0; | 
| 1142 | int crc = ether_crc_le (ETH_ALEN, mclist->dmi_addr); | 1142 | int crc = ether_crc_le(ETH_ALEN, ha->addr); | 
| 1143 | /* The inverted high significant 6 bits of CRC are | 1143 | /* The inverted high significant 6 bits of CRC are | 
| 1144 | used as an index to hashtable */ | 1144 | used as an index to hashtable */ | 
| 1145 | for (bit = 0; bit < 6; bit++) | 1145 | for (bit = 0; bit < 6; bit++) | 
