projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd59f6c
)
nfsd: fix "insecure" export option
author
J. Bruce Fields
<
[email protected]
>
Sun, 20 Dec 2009 15:43:35 +0000
(10:43 -0500)
committer
Linus Torvalds
<
[email protected]
>
Mon, 21 Dec 2009 04:19:51 +0000
(20:19 -0800)
A typo in
12045a6ee9908b
"nfsd: let "insecure" flag vary by
pseudoflavor" reversed the sense of the "insecure" flag.
Reported-by: Michael Guntsche <
[email protected]
>
Signed-off-by: J. Bruce Fields <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/nfsd/nfsfh.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfsfh.c
b/fs/nfsd/nfsfh.c
index 1c12177b908c70cc5dbc88050cc32cbbba8e7742..55c8e63af0be76d566e7723916675a0627145a12 100644
(file)
--- a/
fs/nfsd/nfsfh.c
+++ b/
fs/nfsd/nfsfh.c
@@
-89,7
+89,7
@@
static __be32 nfsd_setuser_and_check_port(struct svc_rqst *rqstp,
int flags = nfsexp_flags(rqstp, exp);
/* Check if the request originated from a secure port. */
- if (!rqstp->rq_secure && (flags & NFSEXP_INSECURE_PORT)) {
+ if (!rqstp->rq_secure &&
!
(flags & NFSEXP_INSECURE_PORT)) {
RPC_IFDEBUG(char buf[RPC_MAX_ADDRBUFLEN]);
dprintk(KERN_WARNING
"nfsd: request from insecure port %s!\n",