From: Kirill A. Shutemov Date: Mon, 29 Dec 2014 13:00:19 +0000 (+0200) Subject: 9p: do not crash on unknown lock status code X-Git-Tag: omap-for-v4.1/fixes-rc1~94^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b642f7269bd40ae9abe9cff01581b2eb5e2c2287;p=pandora-kernel.git 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 Signed-off-by: Dominique Martinet Signed-off-by: Eric Van Hensbergen --- Reading git-diff-tree failed