commit | 0aad37ef3deed118d3816e1d1a600eb2ec9dcb87 | [log] [tgz] |
---|---|---|
author | Abhishek Kulkarni <adkulkar@umail.iu.edu> | Mon Aug 17 16:38:45 2009 -0500 |
committer | Eric Van Hensbergen <ericvh@gmail.com> | Mon Aug 17 16:39:54 2009 -0500 |
tree | cbcfe9f449f57cd35d0ce262e5287da4f8476f30 | |
parent | 48559b4c30708ebdc849483da9fb83ee08c6c908 [diff] |
net/9p: insulate the client against an invalid error code sent by a 9p server A looney tunes server sending an invalid error code (which is !IS_ERR_VALUE) can result in a client oops. So fix it by adding a check and converting unknown or invalid error codes to -ESERVERFAULT. Signed-off-by: Abhishek Kulkarni <adkulkar@umail.iu.edu> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>