• Trond Myklebust's avatar
    SUNRPC: Don't attempt to destroy expired RPCSEC_GSS credentials.. · 080a1f14
    Trond Myklebust authored
    ..and always destroy using a 'soft' RPC call. Destroying GSS credentials
    isn't mandatory; the server can always cope with a few credentials not
    getting destroyed in a timely fashion.
    
    This actually fixes a hang situation. Basically, some servers will decide
    that the client is crazy if it tries to destroy an RPC context for which
    they have sent an RPCSEC_GSS_CREDPROBLEM, and so will refuse to talk to it
    for a while.
    The regression therefor probably was introduced by commit
    0df7fb74.
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    080a1f14
auth_gss.c 35.2 KB