From: Yoshihiro Shimoda <[email protected]>
Date: Tue, 19 Jul 2016 14:40:51 +0900
> This patch fixes an issue that a syscall (e.g. sendto syscall) cannot
> work correctly. Since the sendto syscall doesn't have msg_control buffer,
> the sock_tx_timestamp() in packet_snd() cannot work correctly because
> the socks.tsflags is set to 0.
> So, this patch sets the socks.tsflags to sk->sk_tsflags as default.
>
> Fixes: c14ac9451c34 ("sock: enable timestamping using control messages")
> Cc: <[email protected]>
> Reported-by: Kazuya Mizuguchi <[email protected]>
> Reported-by: Keita Kobayashi <[email protected]>
> Signed-off-by: Yoshihiro Shimoda <[email protected]>
Applied.