lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100219125148.GA6598@psychotron.redhat.com>
Date:	Fri, 19 Feb 2010 13:51:51 +0100
From:	Jiri Pirko <jpirko@...hat.com>
To:	kirjanov@...il.com
Cc:	davem@...emloft.net, kristoffer@...sler.com, netdev@...r.kernel.org
Subject: Re: [PATCH] greth: some driver cleanups


<snip>
>>@@ -1031,7 +1029,7 @@ static void greth_set_multicast_list(struct net_device *dev)
>> 			return;
>> 		}
>> 
>>-		if (dev->mc_count == 0) {
>>+		if (!netdev_mc_count(dev)) {
also please use netdev_mc_empty() here.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ