aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-03-10 12:22:39 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-03-10 14:08:19 -0400
commit4d6c671ace569d4b0d3f8d92ab3aef18a5d166bc (patch)
treea15b5f3630309e5c0433625e290d4ae46d1408fb /net/rxrpc
parentSUNRPC: Micro-optimise when the task is known not to be sleeping (diff)
downloadlinux-dev-4d6c671ace569d4b0d3f8d92ab3aef18a5d166bc.tar.xz
linux-dev-4d6c671ace569d4b0d3f8d92ab3aef18a5d166bc.zip
SUNRPC: Take the transport send lock before binding+connecting
Before trying to bind a port, ensure we grab the send lock to ensure that we don't change the port while another task is busy transmitting requests. The connect code already takes the send lock in xprt_connect(), but it is harmless to take it before that. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions