diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-17 15:25:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-07 12:02:00 -0700 |
commit | ea2c00095c022846dd8dfd211de05154d3e4e1b8 (patch) | |
tree | c9e32884f2ee507fd30f6924b663d3d39d2c4b8b /include | |
parent | 1312ba40c0d00f0a5cfcfe3afc222fcef2a90b56 (diff) | |
download | linux-stable-ea2c00095c022846dd8dfd211de05154d3e4e1b8.tar.gz linux-stable-ea2c00095c022846dd8dfd211de05154d3e4e1b8.tar.bz2 linux-stable-ea2c00095c022846dd8dfd211de05154d3e4e1b8.zip |
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 <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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/connector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/connector.h b/include/linux/connector.h index 7c60d0942adb..f696bccd48cb 100644 --- a/include/linux/connector.h +++ b/include/linux/connector.h @@ -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. |