SUNRPC: off by one in BUG_ON()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 29 Oct 2014 08:44:16 +0000 (11:44 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 29 Oct 2014 15:37:42 +0000 (11:37 -0400)
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 <dan.carpenter@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found