diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-08-12 15:32:24 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-08-12 15:32:24 -0400 |
| commit | 99091700659f4df965e138b38b4fa26a29b7eade (patch) | |
| tree | 3071c9a961a3123dc9a7435c38c70bfffeeaa8af /include/linux/sunrpc | |
| parent | c239ae1044c341f92b7c20c0783aba71de2d724a (diff) | |
| parent | 8d480326c3d6921ff5f1cc988c993bd572248deb (diff) | |
Merge tag 'nfs-for-4.8-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
Pull NFS client bugfixes from Trond Myklebust:
"Highlights include:
- Stable patch from Olga to fix RPCSEC_GSS upcalls when the same user
needs multiple different security services (e.g. krb5i and krb5p).
- Stable patch to fix a regression introduced by the use of
SO_REUSEPORT, and that prevented the use of multiple different NFS
versions to the same server.
- TCP socket reconnection timer fixes.
- Patch from Neil to disable the use of IPv6 temporary addresses"
* tag 'nfs-for-4.8-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
NFSv4: Cap the transport reconnection timer at 1/2 lease period
NFSv4: Cleanup the setting of the nfs4 lease period
SUNRPC: Limit the reconnect backoff timer to the max RPC message timeout
SUNRPC: Fix reconnection timeouts
NFSv4.2: LAYOUTSTATS may return NFS4ERR_ADMIN/DELEG_REVOKED
SUNRPC: disable the use of IPv6 temporary addresses.
SUNRPC: allow for upcalls for same uid but different gss service
SUNRPC: Fix up socket autodisconnect
SUNRPC: Handle EADDRNOTAVAIL on connection failures
Diffstat (limited to 'include/linux/sunrpc')
| -rw-r--r-- | include/linux/sunrpc/clnt.h | 2 | ||||
| -rw-r--r-- | include/linux/sunrpc/xprt.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index b6810c92b8bb..5c02b0691587 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h | |||
| @@ -195,6 +195,8 @@ int rpc_clnt_add_xprt(struct rpc_clnt *, struct xprt_create *, | |||
| 195 | struct rpc_xprt *, | 195 | struct rpc_xprt *, |
| 196 | void *), | 196 | void *), |
| 197 | void *data); | 197 | void *data); |
| 198 | void rpc_cap_max_reconnect_timeout(struct rpc_clnt *clnt, | ||
| 199 | unsigned long timeo); | ||
| 198 | 200 | ||
| 199 | const char *rpc_proc_name(const struct rpc_task *task); | 201 | const char *rpc_proc_name(const struct rpc_task *task); |
| 200 | #endif /* __KERNEL__ */ | 202 | #endif /* __KERNEL__ */ |
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 5e3e1b63dbb3..a16070dd03ee 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h | |||
| @@ -218,7 +218,8 @@ struct rpc_xprt { | |||
| 218 | struct work_struct task_cleanup; | 218 | struct work_struct task_cleanup; |
| 219 | struct timer_list timer; | 219 | struct timer_list timer; |
| 220 | unsigned long last_used, | 220 | unsigned long last_used, |
| 221 | idle_timeout; | 221 | idle_timeout, |
| 222 | max_reconnect_timeout; | ||
| 222 | 223 | ||
| 223 | /* | 224 | /* |
| 224 | * Send stuff | 225 | * Send stuff |
