Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea2c0009 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

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: default avatarK. Y. Srinivasan <kys@microsoft.com>
Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Cc: stable <stable@kernel.org> [.39]
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1312ba40
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -44,7 +44,7 @@
#define CN_VAL_DRBD			0x1
#define CN_VAL_DRBD			0x1
#define CN_KVP_IDX			0x9	/* HyperV KVP */
#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.
 * Maximum connector's message size.