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] [day] [month] [year] [list]
Message-ID: <20210802172539.2v3qnkjmp7l2qtxl@pali>
Date:   Mon, 2 Aug 2021 19:25:39 +0200
From:   Pali Rohár <pali@...nel.org>
To:     Andrew Lunn <andrew@...n.ch>
Cc:     netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: How to find out name or id of newly created interface

On Monday 02 August 2021 16:21:05 Andrew Lunn wrote:
> > Hello! This has additional issue that I have to choose some free ifindex
> > number and it introduce another race condition that other userspace
> > process may choose same ifindex number. So create request in this case
> > fails if other userspace process is faster... So it has same race
> > condition as specifying interface name.
> 
> O.K. if you don't want to deal with retries, you are going to have to
> modify the return value. The nice thing is, its netlink. So you can
> add additional attributes, and not break backwards compatibility. User
> space should ignore all attributes it does not expect.

Guillaume already proposed to implement NLM_F_ECHO...

> But i suspect the architecture of the code is not going to make it
> easy.
> 
> 	Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ