Fix L3 timestamps#2426
Merged
guedou merged 4 commits intosecdev:masterfrom Feb 2, 2020
gpotter2:tmstps
Merged
Conversation
This was referenced Jan 21, 2020
Codecov Report
@@ Coverage Diff @@
## master #2426 +/- ##
==========================================
- Coverage 87.24% 87.14% -0.11%
==========================================
Files 243 242 -1
Lines 50760 49861 -899
==========================================
- Hits 44286 43451 -835
+ Misses 6474 6410 -64
|
p-l-
requested changes
Jan 26, 2020
| # From asm/socket.h | ||
| SO_ATTACH_FILTER = 26 | ||
| SO_TIMESTAMPNS = 35 | ||
| SO_TIMESTAMPNS = 35 # SO_TIMESTAMPNS_OLD: not 2038 safe |
Member
Author
There was a problem hiding this comment.
SO_TIMESTAMPNS_OLD = 35returns timespecs that use long to store the date = not 2038 safeSO_TIMESTAMPNS_NEWreturns timespecs that are long longSO_TIMESTAMPNSdefaults for the old one
We would use the "NEW" one but it's very recent and isn't supported well yet.
https://lwn.net/Articles/776219/
Member
Author
|
Should be ready to merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Credits for the timestamp bug to Ron Henderson
fix #2423
fix #2425
fix #2277
fix #2429