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>] [day] [month] [year] [list]
Message-Id: <1426997218-27313-1-git-send-email-anuradhak@cumulusnetworks.com>
Date:	Sat, 21 Mar 2015 21:06:55 -0700
From:	anuradhak@...ulusnetworks.com
To:	davem@...emloft.net
Cc:	netdev@...r.kernel.org, roopa@...ulusnetworks.com,
	gospo@...ulusnetworks.com, wkok@...ulusnetworks.com,
	anuradhak@...ulusnetworks.com
Subject: [PATCH net-next v2 0/3] net: introduce IFF_PROTO_DOWN flag.

From: Anuradha Karuppiah <anuradhak@...ulusnetworks.com>

User space daemons can detect errors in the network that need to be
notified to the netdev drivers. Drivers can react to this error state
by stopping processing and turning off the carrier.

One such use case is the multi-chassis LAG application. When a split
brain situation is detected between the MLAG peers the secondary MLAG
switch typically stops processing on its MLAG enabled devices. Doing
that helps close traffic black-hole/loop windows quickly.

This series includes a patch for virtio net driver showing a sample
driver handling of the proto down flag

IFF_PROTO_DOWN doesn't interfere with the device admin state. It is
similar to the dormant mode/state that allows applications control of
the operational state as defined by RFC2863.

v1 to v2:
    Based on Dave's suggestion I have moved out aggregating of error
    bits across applications to an user space framework. This patch now
    simply notifies an aggregated error bit to drivers enabling them
    to handle the error gracefully.

Anuradha Karuppiah (2):
  net core: Add IFF_PROTO_DOWN support.
  virtio net: Handle proto_down state by setting the carrier off.

 drivers/net/virtio_net.c |   78 +++++++++++++++++++++++++++++++++++++++++++---
 include/uapi/linux/if.h  |    4 +++
 net/core/dev.c           |    2 +-
 3 files changed, 79 insertions(+), 5 deletions(-)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ