diff options
| author | James Simmons <[email protected]> | 2017-07-26 11:22:32 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-07-30 08:08:31 -0700 |
| commit | 62cbe860c5c381432f0d46f08f39d205074c5edf (patch) | |
| tree | d34145d28e1f5dee5623d38876a421f912b70b94 /tools/perf/scripts/python | |
| parent | 048f81ff3cfafa1ea0a3ae8d09aa398d0c06da84 (diff) | |
staging: lustre: libcfs: fix test for libcfs_ioctl_hdr minimum size
The function libcfs_ioctl_getdata() test to see if libcfs_ioctl_hdr
is smaller than struct libcfs_ioctl_data in size. This is wrong
and it breaks the ioctl that is used to collect LNet stats. The
correct size to compare against is struct libcfs_ioctl_hdr.
Signed-off-by: James Simmons <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5935
Reviewed-on: http://review.whamcloud.com/12782
Fixes: ed2f549dc0f6 ("staging: lustre: libcfs: test if userland data is to small")
Reported-by: Doug Oucharek <[email protected]>
Reviewed-by: Liang Zhen <[email protected]>
Reviewed-by: Doug Oucharek <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions