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

SUNRPC: TCP/UDP always close the old socket before reconnecting



It is not safe to call xs_reset_transport() from inside xs_udp_setup_socket()
or xs_tcp_setup_socket(), since they do not own the correct locks. Instead,
do it in xs_connect().

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 718ba5b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment