From: J. Bruce Fields Date: Wed, 14 Nov 2012 15:48:05 +0000 (-0500) Subject: svcrpc: Revert "sunrpc/cache.h: replace simple_strtoul" X-Git-Tag: v3.8-rc1~20^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=621eb19ce1ec216e03ad354cb0c4061736b2a436;p=pandora-kernel.git svcrpc: Revert "sunrpc/cache.h: replace simple_strtoul" Commit bbf43dc888833ac0539e437dbaeb28bfd4fbab9f "sunrpc/cache.h: replace simple_strtoul" introduced new range-checking which could cause get_int to fail on unsigned integers too large to be represented as an int. We could parse them as unsigned instead--but it turns out svcgssd is actually passing down "-1" in some cases. Which is perhaps stupid, but there's nothing we can do about it now. So just revert back to the previous "sloppy" behavior that accepts either representation. Cc: stable@vger.kernel.org Reported-by: Sven Geggus Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed