]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/atm/clip.c
[NETFILTER] ctnetlink: get_conntrack can use GFP_KERNEL
[karo-tx-linux.git] / net / atm / clip.c
index 28dab55a4387c7fc0436876413efc5540c1f7bd7..4f54c9a5e84a440b9820c3450af722848d15a80c 100644 (file)
@@ -310,7 +310,7 @@ static int clip_constructor(struct neighbour *neigh)
        if (neigh->type != RTN_UNICAST) return -EINVAL;
 
        rcu_read_lock();
-       in_dev = rcu_dereference(__in_dev_get(dev));
+       in_dev = __in_dev_get_rcu(dev);
        if (!in_dev) {
                rcu_read_unlock();
                return -EINVAL;