]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
staging: lustre: lnet: memory corruption in selftest
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 24 Nov 2016 11:10:39 +0000 (14:10 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2016 20:44:01 +0000 (21:44 +0100)
commit5bba129eaa002b8e1be0bd0e33d9937ae0d80805
treebcadc509b20a0f224aea69fa514257630eabd633
parent7966f2d22e2a9bb00b8b216275283d017e092fa2
staging: lustre: lnet: memory corruption in selftest

We want sizeof(struct lstcon_node) but instead we're getting the sizeof
a pointer.

Fixes: 8d78f0f2ba76 ("staging: lustre: lnet: cleanup some of the > 80 line issues")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/console.c