From: Soheil Hassas Yeganeh <soheil.k...@gmail.com>
Date: Sat, 18 Mar 2017 17:03:00 -0400

> From: Soheil Hassas Yeganeh <soh...@google.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 <zzoru...@gmail.com>
> Signed-off-by: Soheil Hassas Yeganeh <soh...@google.com>
> Signed-off-by: Eric Dumazet <eduma...@google.com>
> Signed-off-by: Willem de Bruijn <will...@google.com>

Also applied and queued up for -stable.

Reply via email to