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]
Message-Id: <1424416195-19098-3-git-send-email-sfeldma@gmail.com>
Date:	Thu, 19 Feb 2015 23:09:52 -0800
From:	sfeldma@...il.com
To:	netdev@...r.kernel.org, jiri@...nulli.us,
	roopa@...ulusnetworks.com, linux@...ck-us.net,
	f.fainelli@...il.com, andrew@...n.ch, gospo@...ulusnetworks.com,
	vbandaru@...adcom.com, siva.mannem.lnx@...il.com
Subject: [PATCH net-next RFC 2/5] switchdev: add ntf_flags to FDB notifier

From: Scott Feldman <sfeldma@...il.com>

Let switchdev driver set NTF_* flags per FDB entry.  Driver can set NTF_EXT_AGED
to indicate driver/device will aged out entry.  Driver can set NTF_EXT_LEARNED
to indicate driver/device learned this entry.

Signed-off-by: Scott Feldman <sfeldma@...il.com>
---
 include/net/switchdev.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/net/switchdev.h b/include/net/switchdev.h
index cfcdac2..a523745 100644
--- a/include/net/switchdev.h
+++ b/include/net/switchdev.h
@@ -26,6 +26,7 @@ struct netdev_switch_notifier_fdb_info {
 	struct netdev_switch_notifier_info info; /* must be first */
 	const unsigned char *addr;
 	u16 vid;
+	u8 ntf_flags;
 };
 
 static inline struct net_device *
-- 
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