diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2014-12-29 16:00:19 +0300 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2015-03-20 17:34:41 +0300 |
commit | b642f7269bd40ae9abe9cff01581b2eb5e2c2287 (patch) | |
tree | 40f638e64883cb5224c1c2c0a6a3c34579c9f737 /include/rdma | |
parent | ad80492df56b4bd2d4da9990678d87b66af42f54 (diff) | |
download | linux-b642f7269bd40ae9abe9cff01581b2eb5e2c2287.tar.xz |
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>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions