diff options
| author | Patrick Farrell <[email protected]> | 2014-04-27 13:06:25 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-04-27 10:21:37 -0700 |
| commit | a34041af9e2167e56035a801c384687fcb05a577 (patch) | |
| tree | 1916124188fb49d1e4b9da87c62047944f9e5b65 /tools/perf/scripts/python/netdev-times.py | |
| parent | 2d5eafc179403b30af1d30bea932aebf375fb513 (diff) | |
staging/lustre/ptlrpc: Fix assertion failure of null_alloc_rs()
lustre_get_emerg_rs() set the size of the reply buffer to zero
by mistake, which will cause LBUG in null_alloc_rs() when memory
pressure is high. This patch fix this problem and adds a size
check to avoid the problem of insufficient buffer size.
Signed-off-by: Li Xi <[email protected]>
Signed-off-by: Patrick Farrell <[email protected]>
Reviewed-on: http://review.whamcloud.com/8200
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3680
Reviewed-by: John L. Hammond <[email protected]>
Signed-off-by: Oleg Drokin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions