--- linux-2.4.25.orig/net/socket.c 2004-02-18 14:36:32.000000000 +0100 +++ linux-2.4.25/net/socket.c 2004-03-19 16:07:26.000000000 +0100 @@ -833,6 +833,10 @@ return -EAFNOSUPPORT; if (type < 0 || type >= SOCK_MAX) return -EINVAL; + + // vservers not allowed to use ipv6 + if (family == PF_INET6 && !vx_check(0, VX_ADMIN)) + return -EAFNOSUPPORT; /* Compatibility.