Blame SOURCES/autofs-5.0.8-fix-fix-ipv6-libtirpc-getport.patch
|
|
d906a6 |
autofs-5.0.8 - fix fix ipv6 libtirpc getport
|
|
|
d906a6 |
|
|
|
d906a6 |
From: Ian Kent <raven@themaw.net>
|
|
|
d906a6 |
|
|
|
d906a6 |
Remove a duplicated case entry and remove redundant check, since it
|
|
|
d906a6 |
can never be reached, in rpc_rpcb_getport().
|
|
|
d906a6 |
---
|
|
|
d906a6 |
CHANGELOG | 1 +
|
|
|
d906a6 |
lib/rpc_subs.c | 6 +-----
|
|
|
d906a6 |
2 files changed, 2 insertions(+), 5 deletions(-)
|
|
|
d906a6 |
|
|
|
d906a6 |
--- autofs-5.0.7.orig/CHANGELOG
|
|
|
d906a6 |
+++ autofs-5.0.7/CHANGELOG
|
|
|
d906a6 |
@@ -66,6 +66,7 @@
|
|
|
d906a6 |
- only probe specific nfs version if requested.
|
|
|
d906a6 |
- fix ipv6 libtirpc getport.
|
|
|
d906a6 |
- improve timeout option description.
|
|
|
d906a6 |
+- fix fix ipv6 libtirpc getport.
|
|
|
d906a6 |
|
|
|
d906a6 |
25/07/2012 autofs-5.0.7
|
|
|
d906a6 |
=======================
|
|
|
d906a6 |
--- autofs-5.0.7.orig/lib/rpc_subs.c
|
|
|
d906a6 |
+++ autofs-5.0.7/lib/rpc_subs.c
|
|
|
d906a6 |
@@ -524,7 +524,6 @@ static enum clnt_stat rpc_rpcb_getport(C
|
|
|
d906a6 |
if (rpcerr.re_vers.low > RPCBVERS4)
|
|
|
d906a6 |
return status;
|
|
|
d906a6 |
continue;
|
|
|
d906a6 |
- case RPC_PROCUNAVAIL:
|
|
|
d906a6 |
case RPC_PROGUNAVAIL:
|
|
|
d906a6 |
continue;
|
|
|
d906a6 |
default:
|
|
|
d906a6 |
@@ -533,10 +532,7 @@ static enum clnt_stat rpc_rpcb_getport(C
|
|
|
d906a6 |
}
|
|
|
d906a6 |
}
|
|
|
d906a6 |
|
|
|
d906a6 |
- if (s_port == 0)
|
|
|
d906a6 |
- return RPC_PROGNOTREGISTERED;
|
|
|
d906a6 |
-
|
|
|
d906a6 |
- return RPC_PROCUNAVAIL;
|
|
|
d906a6 |
+ return RPC_PROGNOTREGISTERED;
|
|
|
d906a6 |
}
|
|
|
d906a6 |
|
|
|
d906a6 |
static enum clnt_stat rpc_getport(struct conn_info *info,
|