]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/fib_trie.c
[IPV4]: Do not disable preemption in trie_leaf_remove().
[linux-2.6-omap-h63xx.git] / net / ipv4 / fib_trie.c
index 72b3036bbc09299ada84b297f4ef50b4de453dcb..ada9b3db507d08b938ba8b9697dc35882a3f76fa 100644 (file)
@@ -1527,7 +1527,6 @@ static int trie_leaf_remove(struct trie *t, t_key key)
        t->revision++;
        t->size--;
 
-       preempt_disable();
        tp = NODE_PARENT(n);
        tnode_free((struct tnode *) n);
 
@@ -1537,7 +1536,6 @@ static int trie_leaf_remove(struct trie *t, t_key key)
                rcu_assign_pointer(t->trie, trie_rebalance(t, tp));
        } else
                rcu_assign_pointer(t->trie, NULL);
-       preempt_enable();
 
        return 1;
 }