提交 ea2c0009 编写于 作者: K K. Y. Srinivasan 提交者: Greg Kroah-Hartman

Connector: Set the CN_NETLINK_USERS correctly

The CN_NETLINK_USERS must be set to the highest valid index +1.
Thanks to Evgeniy for pointing this out.
Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
Acked-by: NEvgeniy Polyakov <zbr@ioremap.net>
Cc: stable <stable@kernel.org> [.39]
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 1312ba40
......@@ -44,7 +44,7 @@
#define CN_VAL_DRBD 0x1
#define CN_KVP_IDX 0x9 /* HyperV KVP */
#define CN_NETLINK_USERS 9
#define CN_NETLINK_USERS 10 /* Highest index + 1 */
/*
* Maximum connector's message size.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册