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-next>] [day] [month] [year] [list]
Date:   Wed,  9 Nov 2022 16:24:09 +0100
From:   Rodolfo Giometti <giometti@...eenne.com>
To:     netdev@...r.kernel.org
Cc:     Roopa Prabhu <roopa@...dia.com>,
        Nikolay Aleksandrov <razor@...ckwall.org>,
        Stephen Hemminger <shemminger@...l.org>,
        Flavio Leitner <fbl@...hat.com>,
        "David S . Miller" <davem@...emloft.net>
Subject: Allow non "disabled" state for !netif_oper_up() links


This patch allows non "disabled" state even if the link is UP and runnign
but with no carrier.

I'm trying to implement a new MRP daemon in userspace and when a MRM detects
that one of its ring connections has no carrier, the normative states that
such link shall be set as BLOCKED (or LISTENING for Linux bridges). Current
code blocks this operation.

I think kernel code should implement mechanisms and not policies!

Rodolfo Giometti

---

 br_netlink.c |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ