]> git.baikalelectronics.ru Git - kernel.git/commit
9p: cope with bogus responses from server in p9_client_{read,write}
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 Jul 2015 20:17:39 +0000 (16:17 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 Jul 2015 20:17:39 +0000 (16:17 -0400)
commite1fc24d286d601ec87d225da9297dc6667a59634
treebd2abe8f6e2929335e9326afa56f06102386c224
parent05ad4761f473abfb92c3e688679ed4b574cf221b
9p: cope with bogus responses from server in p9_client_{read,write}

if server claims to have written/read more than we'd told it to,
warn and cap the claimed byte count to avoid advancing more than
we are ready to.
net/9p/client.c