OSDN Git Service

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)
commit841a2ed9a13d0d54ec7f961c54e7b52ffa97c8bb
treef5ac6173a7074e357780f4eb0c08f327445394c5
parent6fc3737aac19c81181d5ec3f9c86e324e85e733a
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