#define GSS_CREDCACHE_EXPIRE (30 * 60) /* 30 minute */
-#define GSS_TIMEOUT_DELTA (5)
-#define CRED_REFRESH_UPCALL_TIMEOUT \
- ({ \
- int timeout = obd_timeout - GSS_TIMEOUT_DELTA; \
- \
- if (timeout < GSS_TIMEOUT_DELTA * 2) \
- timeout = GSS_TIMEOUT_DELTA * 2; \
- timeout; \
- })
-#define SECINIT_RPC_TIMEOUT \
- ({ \
- int timeout = CRED_REFRESH_UPCALL_TIMEOUT - \
- GSS_TIMEOUT_DELTA; \
- if (timeout < GSS_TIMEOUT_DELTA) \
- timeout = GSS_TIMEOUT_DELTA; \
- timeout; \
- })
-#define SECFINI_RPC_TIMEOUT (GSS_TIMEOUT_DELTA)
-
-
/**********************************************
* gss security init/fini helper *
**********************************************/