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: <1228133869.10480.10.camel@iris.sw.ru>
Date:	Mon, 01 Dec 2008 15:17:49 +0300
From:	"Denis V. Lunev" <den@...allels.com>
To:	Rémi Denis-Courmont 
	<remi.denis-courmont@...ia.com>
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next] Phonet: basic net namespace support

On Mon, 2008-12-01 at 14:02 +0200, Rémi Denis-Courmont wrote:
[snip]
> -int phonet_address_lookup(u8 addr)
> +int phonet_address_lookup(struct net *net, u8 addr)
>  {
>  	struct phonet_device *pnd;
>  
>  	spin_lock_bh(&pndevs.lock);
>  	list_for_each_entry(pnd, &pndevs.list, list) {
> +		if (dev_net(pnd->netdev) != net)
> +			continue;
net_eq is better (noop without netns). also there are some similar
places below

Regards,
	Den

--
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