X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-3.18%2F080-15-fib_trie-Push-tnode-flushing-down-to-inflate-halve.patch;h=51178a0f14d2a317a8b119ac086895220c9580bd;hb=c52475712e73dc2142f4b0437bccbfaf931455ee;hp=16ad37d5e2a2fe48b3becd8133ca13951fcd75fe;hpb=a5d918c21e5cfe2dce39dc4a5f4a33c3a699764c;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/target/linux/generic/patches-3.18/080-15-fib_trie-Push-tnode-flushing-down-to-inflate-halve.patch b/target/linux/generic/patches-3.18/080-15-fib_trie-Push-tnode-flushing-down-to-inflate-halve.patch index 16ad37d5e2..51178a0f14 100644 --- a/target/linux/generic/patches-3.18/080-15-fib_trie-Push-tnode-flushing-down-to-inflate-halve.patch +++ b/target/linux/generic/patches-3.18/080-15-fib_trie-Push-tnode-flushing-down-to-inflate-halve.patch @@ -27,7 +27,7 @@ Signed-off-by: David S. Miller static size_t tnode_free_size; /* -@@ -307,32 +305,6 @@ static struct tnode *tnode_alloc(size_t +@@ -307,32 +305,6 @@ static struct tnode *tnode_alloc(size_t return vzalloc(size); } @@ -60,7 +60,7 @@ Signed-off-by: David S. Miller static struct tnode *leaf_new(t_key key) { struct tnode *l = kmem_cache_alloc(trie_leaf_kmem, GFP_KERNEL); -@@ -433,17 +405,33 @@ static void put_child_root(struct tnode +@@ -433,17 +405,33 @@ static void put_child_root(struct tnode rcu_assign_pointer(t->trie, n); } @@ -169,7 +169,7 @@ Signed-off-by: David S. Miller return -ENOMEM; } -@@ -599,17 +593,20 @@ static int halve(struct trie *t, struct +@@ -599,17 +593,20 @@ static int halve(struct trie *t, struct struct tnode *newn; newn = tnode_new(left->key, oldtnode->pos, 1); @@ -192,7 +192,7 @@ Signed-off-by: David S. Miller for (i = 0; i < olen; i += 2) { struct tnode *newBinNode; -@@ -636,11 +633,14 @@ static int halve(struct trie *t, struct +@@ -636,11 +633,14 @@ static int halve(struct trie *t, struct put_child(tn, i / 2, newBinNode);