From: Dan Carpenter Date: Wed, 29 Oct 2014 08:44:16 +0000 (+0300) Subject: SUNRPC: off by one in BUG_ON() X-Git-Tag: omap-for-v3.19/fixes-rc1~62^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb63192bb8cc0186265aad4f79fa4fd49c22b021;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed