commit | 4d6c671ace569d4b0d3f8d92ab3aef18a5d166bc | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Sun Mar 10 12:22:39 2019 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Sun Mar 10 14:08:19 2019 -0400 |
tree | a15b5f3630309e5c0433625e290d4ae46d1408fb | |
parent | 009a82f6437490c262584d65a14094a818bcb747 [diff] |
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>