]> git.baikalelectronics.ru Git - kernel.git/commit
p9_client_write(): avoid double p9_free_req()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 Jul 2015 20:11:05 +0000 (16:11 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 Jul 2015 20:11:05 +0000 (16:11 -0400)
commit05ad4761f473abfb92c3e688679ed4b574cf221b
treeba061dc5e051f976b233666a070ad2d493538112
parentc233f02d4eff78fdc435bbb877d98c060bc3d5ea
p9_client_write(): avoid double p9_free_req()

Braino in "9p: switch p9_client_write() to passing it struct iov_iter *";
if response is impossible to parse and we discard the request, get the
out of the loop right there.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/9p/client.c