vserver 1.9.3
[linux-2.6.git] / net / ipv6 / ip6_input.c
index 9b9cee7..99436a5 100644 (file)
@@ -167,10 +167,9 @@ resubmit:
                ipv6_raw_deliver(skb, nexthdr);
 
        hash = nexthdr & (MAX_INET_PROTOS - 1);
-       if ((ipprot = inet6_protos[hash]) != NULL) {
+       if ((ipprot = rcu_dereference(inet6_protos[hash])) != NULL) {
                int ret;
                
-               smp_read_barrier_depends();
                if (ipprot->flags & INET6_PROTO_FINAL) {
                        struct ipv6hdr *hdr;