mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 05:14:35 +00:00
Commit bbf43dc888 "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: [email protected]
Reported-by: Sven Geggus <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>