summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-02-08 16:49:48 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-02-08 21:47:30 -0500
commitde84d89030fa4efa44c02c96c8b4a8176042c4ff (patch)
treeefa3d6b616d1c117e70456066ba698cc7ae0ea28 /include/linux/sunrpc
parent718ba5b87343df303017585200ee182e937eabfc (diff)
downloadlinux-de84d89030fa4efa44c02c96c8b4a8176042c4ff.tar.gz
linux-de84d89030fa4efa44c02c96c8b4a8176042c4ff.tar.bz2
linux-de84d89030fa4efa44c02c96c8b4a8176042c4ff.zip
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: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/sunrpc')
0 files changed, 0 insertions, 0 deletions