projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] knfsd: SUNRPC: Use sockaddr_storage to store address in svc_deferred_req
[powerpc.git]
/
include
/
linux
/
sunrpc
/
svc.h
diff --git
a/include/linux/sunrpc/svc.h
b/include/linux/sunrpc/svc.h
index
1178689
..
52db9c8
100644
(file)
--- a/
include/linux/sunrpc/svc.h
+++ b/
include/linux/sunrpc/svc.h
@@
-292,8
+292,9
@@
static inline void svc_free_res_pages(struct svc_rqst *rqstp)
struct svc_deferred_req {
u32 prot; /* protocol (UDP or TCP) */
struct svc_deferred_req {
u32 prot; /* protocol (UDP or TCP) */
- struct sockaddr_in addr;
- struct svc_sock *svsk; /* where reply must go */
+ struct svc_sock *svsk;
+ struct sockaddr_storage addr; /* where reply must go */
+ size_t addrlen;
__be32 daddr; /* where reply must come from */
struct cache_deferred_req handle;
int argslen;
__be32 daddr; /* where reply must come from */
struct cache_deferred_req handle;
int argslen;