[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F4DF550.30009@cn.fujitsu.com>
Date: Wed, 29 Feb 2012 17:52:16 +0800
From: Gao feng <gaofeng@...fujitsu.com>
To: davem@...emloft.net
CC: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH] ipv6: Fix problem with expired dst cache
于 2012年02月29日 17:45, Gao feng 写道:
> -static struct rt6_info *rt6_alloc_cow(const struct rt6_info *ort,
> +static struct rt6_info *rt6_alloc_cow(struct rt6_info *ort,
> const struct in6_addr *daddr,
> const struct in6_addr *saddr)
> {
> @@ -934,10 +947,9 @@ struct dst_entry *ip6_blackhole_route(struct net *net, struct dst_entry *dst_ori
> rt->rt6i_idev = ort->rt6i_idev;
> if (rt->rt6i_idev)
> in6_dev_hold(rt->rt6i_idev);
> - rt->dst.expires = 0;
>
> rt->rt6i_gateway = ort->rt6i_gateway;
> - rt->rt6i_flags = ort->rt6i_flags & ~RTF_EXPIRES;
> + rt6_clean_expires(rt);
sorry for this,Please ignore this patch,I will resend it.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists