[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160719.210114.348102018460162904.davem@davemloft.net>
Date: Tue, 19 Jul 2016 21:01:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yoshihiro.shimoda.uh@...esas.com
Cc: daniel@...earbox.net, willemb@...gle.com, ast@...mgrid.com,
tklauser@...tanz.ch, fruggeri@...stanetworks.com,
netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH v3] packet: fix second argument of sock_tx_timestamp()
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.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: <stable@...r.kernel.org>
> Reported-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@...esas.com>
> Reported-by: Keita Kobayashi <keita.kobayashi.ym@...esas.com>
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
Applied.
Powered by blists - more mailing lists