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: Tue, 05 Dec 2023 11:28:32 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] net: core: synchronize link-watch when carrier is
 queried

On Tue, 2023-12-05 at 09:32 +0100, Jiri Pirko wrote:
> > 
> > +	/* Synchronize the carrier state so we don't report a state
> > +	 * that we're not actually going to honour immediately; if
> > +	 * the driver just did a carrier off->on transition, we can
> > +	 * only TX if link watch work has run, but without this we'd
> > +	 * already report carrier on, even if it doesn't work yet.
> > +	 */
> 
> This comment is a bit harder to understand for me, but I eventually did
> get it :)

Do you want to propose different wording with your understanding? :)

> Patch looks fine to me.

Thanks :)

johannes

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ