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
Fixes: 31afeb425f7f ("ipv6: change route cache aging logic")
Discovered-by-KUnit: https://kunit-review.googlesource.com/c/linux/+/1156
Signed-off-by: Brendan Higgins <redacted>
---
net/ipv6/route.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Eric Dumazet <hidden> Date: 2018-10-25 21:40:50
On 10/25/2018 02:13 PM, Brendan Higgins wrote:
quoted hunk
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
Fixes: 31afeb425f7f ("ipv6: change route cache aging logic")
Discovered-by-KUnit: https://kunit-review.googlesource.com/c/linux/+/1156
Signed-off-by: Brendan Higgins <redacted>
---
net/ipv6/route.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
I do not think there is a bug here ?
As a matter of fact, using the latest value of jiffies is probably better,
since in some cases the @now variable could be quite in the past.
I do not think there is a bug here ?
As a matter of fact, using the latest value of jiffies is probably better,
since in some cases the @now variable could be quite in the past.
I do not think there is a bug here ?
As a matter of fact, using the latest value of jiffies is probably better,
since in some cases the @now variable could be quite in the past.
Well, this is a case where we do not really care.
When a bug is fixed (you added a Fixes: tag which is good), we want
to understand the real problem that needs to be fixed on stable kernels.
Since this does not seem to be a real issue, I would suggest you send a cleanup
patch when net-next is open (few days after linux-4.20-rc1 is release)
I do not think there is a bug here ?
As a matter of fact, using the latest value of jiffies is probably better,
since in some cases the @now variable could be quite in the past.
Well, this is a case where we do not really care.
When a bug is fixed (you added a Fixes: tag which is good), we want
to understand the real problem that needs to be fixed on stable kernels.
So by bug you mean user visible bug?
Since this does not seem to be a real issue, I would suggest you send a cleanup
patch when net-next is open (few days after linux-4.20-rc1 is release)