summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-10-20 05:11:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-13 22:08:20 +0300
commit3fdf483bcf76ab19cf4412c6cac31135d7eda30e (patch)
treedf37e8e78bb14b8a32647f7ba326ca1c541c2538 /kernel/locking
parentcf5819b288283892459297a8a6ddc33f279ab611 (diff)
downloadlinux-3fdf483bcf76ab19cf4412c6cac31135d7eda30e.tar.xz
net: loopback: clear skb->tstamp before netif_rx()
[ Upstream commit 4c16128b6271e70c8743178e90cccee147858503 ] At least UDP / TCP stacks can now cook skbs with a tstamp using MONOTONIC base (or arbitrary values with SCM_TXTIME) Since loopback driver does not call (directly or indirectly) skb_scrub_packet(), we need to clear skb->tstamp so that net_timestamp_check() can eventually resample the time, using ktime_get_real(). Fixes: 80b14dee2bea ("net: Add a new socket option for a future transmit time.") Fixes: fb420d5d91c1 ("tcp/fq: move back to CLOCK_MONOTONIC") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Willem de Bruijn <willemb@google.com> Cc: Soheil Hassas Yeganeh <soheil@google.com> Acked-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions