]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tcp: fix data delivery rate
authorEric Dumazet <edumazet@google.com>
Fri, 15 Sep 2017 23:47:42 +0000 (16:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Oct 2017 09:56:03 +0000 (11:56 +0200)
commitdb755cf143a576a04a6c7af66e9e15ae8fcd97da
tree22e8de597cdbdda63335b886832c8ccc84768f35
parent4dfd8d60544612978293dce358d040f71a3209cd
tcp: fix data delivery rate

[ Upstream commit fc22579917eb7e13433448a342f1cb1592920940 ]

Now skb->mstamp_skb is updated later, we also need to call
tcp_rate_skb_sent() after the update is done.

Fixes: 8c72c65b426b ("tcp: update skb->skb_mstamp more carefully")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/tcp_output.c