]> asedeno.scripts.mit.edu Git - linux.git/commit
SUNRPC fix regression in umount of a secure mount
authorOlga Kornievskaia <kolga@netapp.com>
Wed, 29 May 2019 14:46:00 +0000 (10:46 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 30 May 2019 19:15:42 +0000 (15:15 -0400)
commitec6017d9035986a36de064f48a63245930bfad6f
treef871501689d3a3119153e04460d65e0a1db31e12
parent66d4218f9902132a48f29607ca741076ab3671a1
SUNRPC fix regression in umount of a secure mount

If call_status returns ENOTCONN, we need to re-establish the connection
state after. Otherwise the client goes into an infinite loop of call_encode,
call_transmit, call_status (ENOTCONN), call_encode.

Fixes: c8485e4d63 ("SUNRPC: Handle ECONNREFUSED correctly in xprt_transmit()")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Cc: stable@vger.kernel.org # v2.6.29+
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c