From: YOSHIFUJI Hideaki Date: Thu, 24 Aug 2006 00:20:54 +0000 (-0700) Subject: [IPV6] ROUTE: Prune clones from main tree as well. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2285adc1e6c9f964f9625e7edcd233fccd7a7c92;p=openwrt%2Fstaging%2Fblogic.git [IPV6] ROUTE: Prune clones from main tree as well. Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala Signed-off-by: David S. Miller --- 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) if (err == 0) { fib6_start_gc(rt); if (!(rt->rt6i_flags&RTF_CACHE)) - fib6_prune_clones(fn, rt); + fib6_prune_clones(pn, rt); } out: