]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa3edde28d9df0895083175321b2c3a8372749ba
treeade0ff698ef5be76fa3ed2c39d4e1df437c41360
parente7df429dc94c3650b3d28907658d499cf3c5ba54
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