On Thu, 2009-02-12 at 14:35 -0500, Chuck Lever wrote: > I wasn't sure exactly where the compared addresses came from. I had > assumed that they all came through the listener, so we wouldn't need > this kind of translation. It shouldn't be difficult to map addresses > passed in via nlmclnt_init() to AF_INET6. > > But this is the kind of thing that makes "falling back" to an AF_INET > listener a little challenging. We will have to record what flavor the > listener is and do a translation depending on what listener family was > actually created. Why? Should we care whether we're receiving IPv4 addresses or IPv6 v4-mapped addresses? They're the same thing... We're already doing the mapping for the NFSv4 callback channel. See nfs_sockaddr_match_ipaddr() in fs/nfs/client.c Trond -- 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