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: <20170427.163142.1805901844340899570.davem@davemloft.net>
Date:   Thu, 27 Apr 2017 16:31:42 -0400 (EDT)
From:   David Miller <davem@...emloft.net>
To:     zhangshengju@...s.chinamobile.com
Cc:     netdev@...r.kernel.org
Subject: Re: [net-next] net: remove unnecessary carrier status check

From: Zhang Shengju <zhangshengju@...s.chinamobile.com>
Date: Wed, 26 Apr 2017 17:49:38 +0800

> Since netif_carrier_on() will do nothing if device's carrier is already
> on, so it's unnecessary to do carrier status check.
> 
> It's the same for netif_carrier_off().
> 
> Signed-off-by: Zhang Shengju <zhangshengju@...s.chinamobile.com>

Applied, thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ