[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120417.223233.351461241401990679.davem@davemloft.net>
Date: Tue, 17 Apr 2012 22:32:33 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: gaofeng@...fujitsu.com
Cc: jbohac@...e.cz, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv6: fix rt6_update_expires
From: Gao feng <gaofeng@...fujitsu.com>
Date: Wed, 18 Apr 2012 10:24:48 +0800
> 于 2012年04月16日 21:34, Jiri Bohac 写道:
>>
>> Commit 1716a961 (ipv6: fix problem with expired dst cache) broke PMTU
>> discovery. rt6_update_expires() calls dst_set_expires(), which only updates
>> dst->expires if it has not been set previously (expires == 0) or if the new
>> expires is earlier than the current dst->expires.
>>
>> rt6_update_expires() needs to zero rt->dst.expires, otherwise it will contain
>> ivalid data left over from rt->dst.from and will confuse dst_set_expires().
>>
>> Signed-off-by: Jiri Bohac <jbohac@...e.cz>
...
> looks good to me, thanks.
Applied.
--
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