SUNRPC: Don't reset the stream record info when the receive worker is running
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Feb 2019 19:56:20 +0000 (14:56 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Feb 2019 22:33:55 +0000 (17:33 -0500)
commitae0535515161d3a131f2acabb7b883e3f3d45235
treeade0ff698ef5be76fa3ed2c39d4e1df437c41360
parentded52fbe7020a5696b0b0a0fdbf234e37bf16f94
SUNRPC: Don't reset the stream record info when the receive worker is running

To ensure that the receive worker has exclusive access to the stream record
info, we must not reset the contents other than when holding the
transport->recv_mutex.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprtsock.c