A couple of places in sk_newlistener were using AF_INET6 even with NO_IPV6.