9p: forgetting to cancel request on interrupted zero-copy RPC
commit82bec81e4d7d53b46fca391774271f801b18d6e5
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 Jul 2015 20:04:19 +0000 (4 16:04 -0400)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 4 Aug 2015 18:41:41 +0000 (4 14:41 -0400)
tree565e8de4ce12becb722499d6814e77bad1f1e7eb
parentc7f10946b88af6d5d82bc9f84d008f0d089972d9
9p: forgetting to cancel request on interrupted zero-copy RPC

[ Upstream commit a84b69cb6e0a41e86bc593904faa6def3b957343 ]

If we'd already sent a request and decide to abort it, we *must*
issue TFLUSH properly and not just blindly reuse the tag, or
we'll get seriously screwed when response eventually arrives
and we confuse it for response to later request that had reused
the same tag.

Cc: stable@vger.kernel.org # v3.2 and later
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
net/9p/client.c