Skip to content
Commit 4d6c671a authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 009a82f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment