netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Allow non "disabled" state for !netif_oper_up() links
@ 2022-11-09 15:24 Rodolfo Giometti
  2022-11-09 15:24 ` [PATCH] net br_netlink.c:y allow " Rodolfo Giometti
  0 siblings, 1 reply; 7+ messages in thread
From: Rodolfo Giometti @ 2022-11-09 15:24 UTC (permalink / raw)
  To: netdev
  Cc: Roopa Prabhu, Nikolay Aleksandrov, Stephen Hemminger,
	Flavio Leitner, David S . Miller


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(-)



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-11-11 13:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-09 15:24 Allow non "disabled" state for !netif_oper_up() links Rodolfo Giometti
2022-11-09 15:24 ` [PATCH] net br_netlink.c:y allow " Rodolfo Giometti
2022-11-09 17:34   ` Andrew Lunn
2022-11-09 18:19     ` Rodolfo Giometti
2022-11-09 18:46       ` Andrew Lunn
2022-11-11  9:43         ` Rodolfo Giometti
2022-11-11 13:09           ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).