Re: [PATCH 8/8] socket: Add SO_TIMESTAMPING_NEW

2018-11-24 Thread Deepa Dinamani
> > + new_tstamp = sock_flag(sk, SOCK_TSTAMP_NEW); > > + if (new_tstamp) > > nit: no need for explicit variable Sure, will drop it. -Deepa

Re: [PATCH 8/8] socket: Add SO_TIMESTAMPING_NEW

2018-11-24 Thread Willem de Bruijn
On Sat, Nov 24, 2018 at 3:58 AM Deepa Dinamani 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 > Cc: ch...@zankel.net > Cc: fenghua...@intel.com > Cc: r.

[PATCH 8/8] socket: Add SO_TIMESTAMPING_NEW

2018-11-23 Thread Deepa Dinamani
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 Cc: ch...@zankel.net Cc: fenghua...@intel.com Cc: r...@twiddle.net Cc: t...@linutronix.de Cc: ubr...@linux.ibm.com Cc: linux