On Tue, Nov 28, 2017 at 9:08 PM, David Miller [off-list ref] wrote:
From: Arnd Bergmann <arnd@arndb.de>
Date: Tue, 28 Nov 2017 21:02:05 +0100
quoted
Does this mean you think the general idea of an extended interface
for 64-bit timestamps is useful for traditional packet sockets? I
think that was still an open question, though we seem to be getting
closer to consensus on the implementation and the interface that it
should use if we want it.
If it can be done reasonably easy, which you patches seem to indicate
is the case, I have no objections to extending packet socket for
64-bit timestamps.
I hope that AF_CAPTURE will be designed in such a way that all apps
can migrate to it, and I will be making sure it is implemented
appropriately with that in mind.
But I don't think AF_CAPTURE should block your work here.
To clarify where I'm coming from, my interest is mainly in the first
patch to remove all users of 'struct timespec' in order to weed out
the users that are actually broken in 2038. I added the comment
about it breaking in 2106 and how it could be fixed, and then
decided to try out how ugly that fix would get.
I'll follow up with v3 that should address the comments I got so far,
but a conclusion of 'nobody is asking for it' would be fine too, and
then the patch could get dropped.
I'll also look at the AF_CAPTURE patches to make sure that
the timestamping aspect is handled in a safe way there.
Arnd