]> www.infradead.org Git - users/jedix/linux-maple.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)
committerBrian Maly <brian.maly@oracle.com>
Wed, 21 Aug 2019 18:10:28 +0000 (14:10 -0400)
commit6b538844f05a7d4182ec742b35760f94f9bd95bf
treeb7776d429cfc0b2e4719ff297dfe53eff3c509ce
parent24ad5b209a47575ea47ba1857c25e8aeb4648292
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>
(cherry picked from commit ec6017d9035986a36de064f48a63245930bfad6f)
Orabug: 29926734
Signed-off-by: Calum Mackay <calum.mackay@oracle.com>
Reviewed-by: Bill Baker <bill.baker@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
net/sunrpc/clnt.c