Skip to content

Commit

Permalink
Connector: Set the CN_NETLINK_USERS correctly
Browse files Browse the repository at this point in the history
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 <kys@microsoft.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: stable <stable@kernel.org> [.39]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 1312ba4 commit ea2c000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/connector.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ea2c000

Please sign in to comment.