[PATCH] Add comment to warn about deprecated netlink rings attribute request
From: Fabien Siron
Date: Wed Jun 15 2016 - 11:53:28 EST
Signed-off-by: Fabien Siron <fabien.siron@xxxxxxxx>
---
include/uapi/linux/netlink_diag.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/netlink_diag.h b/include/uapi/linux/netlink_diag.h
index d793993..76b4d87 100644
--- a/include/uapi/linux/netlink_diag.h
+++ b/include/uapi/linux/netlink_diag.h
@@ -49,6 +49,7 @@ enum {
#define NDIAG_SHOW_MEMINFO 0x00000001 /* show memory info of a socket */
#define NDIAG_SHOW_GROUPS 0x00000002 /* show groups of a netlink socket */
#ifndef __KERNEL__
+/* deprecated since 4.6 */
#define NDIAG_SHOW_RING_CFG 0x00000004 /* show ring configuration */
#endif
--
2.8.3