p9_client_readdir() fix
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 14 Apr 2017 21:22:18 +0000 (17:22 -0400)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Jun 2017 12:04:52 +0000 (14:04 +0200)
commit37a23f22c72f6c90fd438db1f2abca3b342850a2
tree94ddc55b61b8f93ee5230f0152a9a0d90207c2e1
parent1e46601d54d1649e4cea55790f8ad2c64e7f94d5
p9_client_readdir() fix

commit 71d6ad08379304128e4bdfaf0b4185d54375423e upstream.

Don't assume that server is sane and won't return more data than
asked for.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Willy Tarreau <w@1wt.eu>
net/9p/client.c