Skip to content

Commit ea2c000

Browse files
kattisrinivasangregkh
authored andcommitted
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: K. Y. Srinivasan <[email protected]> Acked-by: Evgeniy Polyakov <[email protected]> Cc: stable <[email protected]> [.39] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1312ba4 commit ea2c000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/connector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#define CN_VAL_DRBD 0x1
4545
#define CN_KVP_IDX 0x9 /* HyperV KVP */
4646

47-
#define CN_NETLINK_USERS 9
47+
#define CN_NETLINK_USERS 10 /* Highest index + 1 */
4848

4949
/*
5050
* Maximum connector's message size.

0 commit comments

Comments
 (0)