dlm: Fix kernel memory disclosure

Clear the 'unused' field and the uninitialized padding in 'lksb' to
avoid leaking memory to userland in copy_result_to_user().

Signed-off-by: Vlad Tsyrklevich <vlad@tsyrklevich.net>
Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
Vlad Tsyrklevich 2017-02-22 15:31:45 -06:00 • committed by David Teigland
commit 8286d6b14c