Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
[linux-2.6-block.git] / net / ipv6 / ipv6_sockglue.c
index 4b16c6dede4fd58296ab762006ebc6f316f07b57..d78d41fc4b1a46e4e0a743487770ac4fe7d395b4 100644 (file)
@@ -1329,7 +1329,7 @@ static int do_ipv6_getsockopt(struct sock *sk, int level, int optname,
                break;
 
        case IPV6_AUTOFLOWLABEL:
-               val = np->autoflowlabel;
+               val = ip6_autoflowlabel(sock_net(sk), np);
                break;
 
        case IPV6_RECVFRAGSIZE: