Re: [PATCH net 1/2] tcp: fix SCM_TIMESTAMPING_OPT_STATS for normal skbs

2017-03-21 Thread David Miller
From: Soheil Hassas Yeganeh Date: Sat, 18 Mar 2017 17:02:59 -0400 > From: Soheil Hassas Yeganeh > > __sock_recv_timestamp can be called for both normal skbs (for > receive timestamps) and for skbs on the error queue (for transmit > timestamps). > >

[PATCH net 1/2] tcp: fix SCM_TIMESTAMPING_OPT_STATS for normal skbs

2017-03-18 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh __sock_recv_timestamp can be called for both normal skbs (for receive timestamps) and for skbs on the error queue (for transmit timestamps). Commit 1c885808e456 (tcp: SOF_TIMESTAMPING_OPT_STATS option for SO_TIMESTAMPING) assumes any skb passed to