mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-03 17:30:23 -05:00
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]>
This commit is contained in:
parent
1312ba40c0
commit
ea2c00095c
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue