diff options
author | Oleg Drokin <[email protected]> | 2014-01-23 23:45:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-02-07 09:09:38 -0800 |
commit | 18e042f0c9cb14afa5540dc366eeefe67295d0b9 (patch) | |
tree | 4a276176a07c6f16023d6f678819f474da1117b8 /lib/mpi/mpi-cmp.c | |
parent | 910827f17496e03d23577c580e2456604caa9f35 (diff) |
lustre: Correct KUC code max changelog msg size
The kernel to userspace communication routines (KUC) allocate
and limit the maximum cs_buf size to CR_MAXSIZE. However this
fails to account for the fact that the buffer is assumed to begin
with a struct kuc_hdr. To allocate and account for that space,
we introduce a new define, KUC_CHANGELOG_MSG_MAXSIZE.
Signed-off-by: Christopher J. Morrone <[email protected]>
Reviewed-on: http://review.whamcloud.com/7406
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3587
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: jacques-Charles Lafoucriere <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: Oleg Drokin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions