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]
Date:	Sat, 5 May 2007 13:13:19 +0400
From:	Evgeniy Polyakov <johnpol@....mipt.ru>
To:	Patrick McHardy <kaber@...sh.net>
Cc:	David Howells <dhowells@...hat.com>, netdev@...r.kernel.org
Subject: Re: How to find I/F to destination

On Fri, May 04, 2007 at 03:59:18PM +0200, Patrick McHardy (kaber@...sh.net) wrote:
> >>You need dst_release(&rt->u.dst) here.
> > 
> > 
> > Thanks.  I think Evgeniy's code may be wrong then.  He ends with a
> > dst_clone(), which I think is superfluous.
> 
> 
> Yes, that looks wrong.

Main idea is to get a reference, and then clone it for each user.
Then each user drops its reference, and when system is not used anymore,
main reference is dropped too.

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