aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <[email protected]>2016-07-19 05:40:51 +0000
committerDavid S. Miller <[email protected]>2016-07-20 04:00:50 +0000
commitedbe77462302ec0b11a90244de13f9012118c538 (patch)
tree4f062bf4f363f4eefe44d002876aa5fc2d38d2d1 /fs/jbd2/commit.c
parentnet: switchdev: change ageing_time type to clock_t (diff)
downloadkernel-edbe77462302ec0b11a90244de13f9012118c538.tar.gz
kernel-edbe77462302ec0b11a90244de13f9012118c538.zip
packet: fix second argument of sock_tx_timestamp()
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") Reported-by: Kazuya Mizuguchi <[email protected]> Reported-by: Keita Kobayashi <[email protected]> Signed-off-by: Yoshihiro Shimoda <[email protected]> Acked-by: Soheil Hassas Yeganeh <[email protected]> Acked-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions