From: Trond Myklebust Date: Sun, 8 Feb 2015 21:49:48 +0000 (-0500) Subject: SUNRPC: TCP/UDP always close the old socket before reconnecting X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~120^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de84d89030fa4efa44c02c96c8b4a8176042c4ff;p=pandora-kernel.git 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 --- Reading git-diff-tree failed