]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/neighbour.c
[ALSA] alsa-kernel: schedule_timeout() fixes
[linux-2.6-omap-h63xx.git] / net / core / neighbour.c
index c52df858d0be10a597109bed466c860d1177e097..cd3af59b38a10fbdb6163c2f705930f2002698df 100644 (file)
@@ -481,6 +481,8 @@ struct pneigh_entry * pneigh_lookup(struct neigh_table *tbl, const void *pkey,
        if (!creat)
                goto out;
 
+       ASSERT_RTNL();
+
        n = kmalloc(sizeof(*n) + key_len, GFP_KERNEL);
        if (!n)
                goto out;