9P/RDMA: Protect against duplicate replies
authorSimon Derr <simon.derr@bull.net>
Fri, 21 Jun 2013 13:32:38 +0000 (15:32 +0200)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 8 Jul 2013 03:02:28 +0000 (22:02 -0500)
commit47229ff85e5a0b0613df2288d212938aeb9687da
tree8ebb938dc2b5187b44bf2e5e980dca96e5e1e3c2
parent3fcc62f4e8620fd5f85f957a5e708e69a20adb51
9P/RDMA: Protect against duplicate replies

A well-behaved server would not send twice the reply to a request.
But if it ever happens...
This additional check prevents the kernel from leaking memory
and possibly more nasty consequences in that unlikely event.

Signed-off-by: Simon Derr <simon.derr@bull.net>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/trans_rdma.c