Hi Steve-
On Dec 18, 2008, at Dec 18, 2008, 3:49 PM, Steve Dickson wrote:
Chuck Lever wrote:
@@ -72,12 +74,29 @@ mount_dispatch(struct svc_req *rqstp, SVCXPRT
*transp)
union mountd_results result;
#ifdef HAVE_TCP_WRAPPER
+#ifdef IPV6_SUPPORTED
+ static int once = 0;
+
+ if (svc_getcaller(transp)->sin_family != AF_INET) {
It's not clear to me that svc_getcaller() will ever return a non-
AF_INET
address.
Should we use svc_getcaller_netbuf() here instead?
I would if I could but there is no svc_getcaller_netbuf() in the
glibc version of RPC...
If IPV6_SUPPORTED is set than libtirpc is required to be available.
nfs-utils won't build with --enable-ipv6 if there's no libtirpc.
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html