Re: [PATCH v3 7/8] socket: Add SO_TIMESTAMPING_NEW
Willem de Bruijn <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.network,gmane.linux.kernel.year-2038,gmane.linux.ports.alpha,gmane.linux.kernel.cross-arch,gmane.linux.ports.ia64,gmane.linux.ports.mips.general,gmane.linux.ports.sparc |
|---|---|
| Message-ID | <CAF=yD-Jy7kyNtae7QpHgn6kJtmmYCngNdzF3K5DqVJBTHOUfqA@mail.gmail.com> |
On Mon, Jan 7, 2019 at 10:29 PM Deepa Dinamani <[email protected]> wrote: > > Add SO_TIMESTAMPING_NEW variant of socket timestamp options. > This is the y2038 safe versions of the SO_TIMESTAMPING_OLD > for all architectures. > > Signed-off-by: Deepa Dinamani <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > --- > --- a/arch/sparc/include/uapi/asm/socket.h > +++ b/arch/sparc/include/uapi/asm/socket.h > @@ -106,20 +106,22 @@ > #define SO_TIMESTAMPNS_OLD 0x0021 > #define SO_TIMESTAMPING_OLD 0x0023 > > -#define SO_TIMESTAMP_NEW 0x0040 > -#define SO_TIMESTAMPNS_NEW 0x0041 > +#define SO_TIMESTAMP_NEW 0x0041 > +#define SO_TIMESTAMPNS_NEW 0x0042 > +#define SO_TIMESTAMPING_NEW 0x0043 nit: unnecessary? perhaps need to get indentation consistent immediately in the previous patch in this series that introduces SO_TIMESTAMP_NEW