]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Set SOFTCONN when destroying GSS contexts
authorChuck Lever <chuck.lever@oracle.com>
Tue, 12 May 2020 21:13:55 +0000 (17:13 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 11 Jun 2020 17:33:48 +0000 (13:33 -0400)
commitcf91694ccca082783d9e777862c18a499fcfe2f3
treef5ac6173a7074e357780f4eb0c08f327445394c5
parent662d3f6ee11ae8a9d40b8522337c71ba449be95f
SUNRPC: Set SOFTCONN when destroying GSS contexts

Move the RPC_TASK_SOFTCONN flag into rpc_call_null_helper(). The
only minor behavior change is that it is now also set when
destroying GSS contexts.

This gives a better guarantee that gss_send_destroy_context() will
not hang for long if a connection cannot be established.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c