From: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> 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: <sta...@vger.kernel.org> > Reported-by: Kazuya Mizuguchi <kazuya.mizuguchi...@renesas.com> > Reported-by: Keita Kobayashi <keita.kobayashi...@renesas.com> > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> Applied.