commit | 4b41b1594ffeab70f1b4364721940cb909509d97 | [log] [tgz] |
---|---|---|
author | Brendan Higgins <brendanhiggins@google.com> | Tue Jun 19 17:45:41 2018 -0700 |
committer | Brendan Higgins <brendanhiggins@google.com> | Thu Oct 25 14:06:22 2018 -0700 |
tree | e241c1b087bb8f43932d4cb06e7fe32cf19d4a98 | |
parent | 4ae9169b4f45c3c78d7fc562b0da45393a18fd46 [diff] |
net: ipv6: fix racey clock check in route cache aging logic Fix a bug where, with certain settings, the aging logic does not use the time passed in as the current time, but instead directly checks jiffies. This bug can be reproduced with (and this fix verified with) the test at: https://kunit-review.googlesource.com/c/linux/+/1156 Change-Id: Ib65c4e4a4a844340733655312136cb391c19afc0 Kunitconfig-Revision: c4ad34242571a1883bdd1db0dae32bb6cc69559d Fixes: 31afeb425f7f ("ipv6: change route cache aging logic") Discovered-by-KUnit: https://kunit-review.googlesource.com/c/linux/+/1156 Signed-off-by: Brendan Higgins <brendanhiggins@google.com>