commit | 0f1db7dee200127da4c07928189748918c312031 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 04 16:17:39 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 04 16:17:39 2015 -0400 |
tree | bd2abe8f6e2929335e9326afa56f06102386c224 | |
parent | 67e808fbb0404a12d9b9830a44bbb48d447d8bc9 [diff] |
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.