diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-08-23 20:20:54 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:55:47 -0400 |
commit | 2285adc1e6c9f964f9625e7edcd233fccd7a7c92 (patch) | |
tree | 9a101ad7a1bff6e8bf4ba5edef3d39254e6b1216 /net/ipv6/ip6_fib.c | |
parent | 66729e18df08ee20a9824148236b89f56371659e (diff) |
[IPV6] ROUTE: Prune clones from main tree as well.
Based on MIPL2 kernel patch.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Ville Nuorvala <vnuorval@tcs.hut.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_fib.c')
-rw-r--r-- | net/ipv6/ip6_fib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c index 11f9660a4796..35b91ff95db2 100644 --- a/net/ipv6/ip6_fib.c +++ b/net/ipv6/ip6_fib.c | |||
@@ -776,7 +776,7 @@ int fib6_add(struct fib6_node *root, struct rt6_info *rt, struct nl_info *info) | |||
776 | if (err == 0) { | 776 | if (err == 0) { |
777 | fib6_start_gc(rt); | 777 | fib6_start_gc(rt); |
778 | if (!(rt->rt6i_flags&RTF_CACHE)) | 778 | if (!(rt->rt6i_flags&RTF_CACHE)) |
779 | fib6_prune_clones(fn, rt); | 779 | fib6_prune_clones(pn, rt); |
780 | } | 780 | } |
781 | 781 | ||
782 | out: | 782 | out: |