[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170321.184505.1293299114093848920.davem@davemloft.net>
Date: Tue, 21 Mar 2017 18:45:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: soheil.kdev@...il.com
Cc: netdev@...r.kernel.org, zzoru007@...il.com, soheil@...gle.com,
edumazet@...gle.com, willemb@...gle.com
Subject: Re: [PATCH net 2/2] tcp: mark skbs with SCM_TIMESTAMPING_OPT_STATS
From: Soheil Hassas Yeganeh <soheil.kdev@...il.com>
Date: Sat, 18 Mar 2017 17:03:00 -0400
> From: Soheil Hassas Yeganeh <soheil@...gle.com>
>
> SOF_TIMESTAMPING_OPT_STATS can be enabled and disabled
> while packets are collected on the error queue.
> So, checking SOF_TIMESTAMPING_OPT_STATS in sk->sk_tsflags
> is not enough to safely assume that the skb contains
> OPT_STATS data.
>
> Add a bit in sock_exterr_skb to indicate whether the
> skb contains opt_stats data.
>
> Fixes: 1c885808e456 ("tcp: SOF_TIMESTAMPING_OPT_STATS option for SO_TIMESTAMPING")
> Reported-by: JongHwan Kim <zzoru007@...il.com>
> Signed-off-by: Soheil Hassas Yeganeh <soheil@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
Also applied and queued up for -stable.
Powered by blists - more mailing lists