commit | b642f7269bd40ae9abe9cff01581b2eb5e2c2287 | [log] [tgz] |
---|---|---|
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | Mon Dec 29 15:00:19 2014 +0200 |
committer | Eric Van Hensbergen <ericvh@gmail.com> | Fri Mar 20 07:34:41 2015 -0700 |
tree | 40f638e64883cb5224c1c2c0a6a3c34579c9f737 | |
parent | ad80492df56b4bd2d4da9990678d87b66af42f54 [diff] |
9p: do not crash on unknown lock status code Current 9p implementation will crash whole system if sees unknown lock status code. It's trivial target for DOS: 9p server can produce such code easily. Let's fallback more gracefully: warning in dmesg + -ENOLCK. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>