Bjorn Leffler has uploaded this change for review.
MainNFSD: clear IPV6_V6ONLY on the AF_INET6 listeners
Allocate_sockets() creates AF_INET6 sockets when IPv6 is available and
serves IPv4 clients through them as v4-mapped addresses. That works only
while the socket is not v6-only, which is the default only because
net.ipv6.bindv6only is 0. Where it is 1, as some container runtimes set
it, IPv4 clients cannot reach the server at all.
Clear IPV6_V6ONLY explicitly so the listeners are dual-stack regardless.
Change-Id: Ie3667b8b4d2e0cb26d4d85551eaa4b4aea192456
Signed-off-by: Bjorn Leffler <github@leffler.org>
---
M src/MainNFSD/nfs_rpc_dispatcher_thread.c
1 file changed, 25 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/49/1255649/1
To view, visit change 1255649. To unsubscribe, or for help writing mail filters, visit settings.