aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2014-10-29 11:44:16 +0300
committerJ. Bruce Fields <[email protected]>2014-10-29 11:37:42 -0400
commiteb63192bb8cc0186265aad4f79fa4fd49c22b021 (patch)
treed3539e13f2abae0d979a09ddb4b14ff683ea7756 /lib/memory-notifier-error-inject.c
parentccc6398ea5d58fdedc6caccba0216ab30739773b (diff)
SUNRPC: off by one in BUG_ON()
The m->pool_to[] array has "maxpools" number of elements. It's allocated in svc_pool_map_alloc_arrays() which we called earlier in the function. This test should be >= instead of >. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions