Thread (29 messages) 29 messages, 5 authors, 2012-04-18

Re: [PATCH] ipv6: fix rt6_update_expires

From: David Miller <davem@davemloft.net>
Date: 2012-04-18 02:33:28

From: Gao feng <redacted>
Date: Wed, 18 Apr 2012 10:24:48 +0800
于 2012年04月16日 21:34, Jiri Bohac 写道:
quoted
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 <redacted>
 ...
looks good to me, thanks.
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help