diff options
author | 2012-04-16 03:34:39 +0000 | |
---|---|---|
committer | 2012-04-17 22:31:51 -0400 | |
commit | edfb5d4687d587c9f714799c7ee27517118e12e6 (patch) | |
tree | a3f420b125f8b55bd9135ab3c9299a2b22a24507 /mm/page_alloc.c | |
parent | arcnet: rimi: Fix device name in debug output (diff) | |
download | linux-dev-edfb5d4687d587c9f714799c7ee27517118e12e6.tar.xz linux-dev-edfb5d4687d587c9f714799c7ee27517118e12e6.zip |
ipv6: fix rt6_update_expires
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@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions