]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: ipv4: initialize unicast_sock sk_pacing_rate
authorEric Dumazet <edumazet@google.com>
Wed, 28 Jan 2015 13:47:11 +0000 (05:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jan 2015 07:24:47 +0000 (23:24 -0800)
commit45fbef593fa860c77b6fce53a2f7c2d33c699de4
tree788fc77d259b21c55a2b04594824d0c688992385
parent9254710f8ce90fe9fd02085b7d34d09d7639f957
tcp: ipv4: initialize unicast_sock sk_pacing_rate

When I added sk_pacing_rate field, I forgot to initialize its value
in the per cpu unicast_sock used in ip_send_unicast_reply()

This means that for sch_fq users, RST packets, or ACK packets sent
on behalf of TIME_WAIT sockets might be sent to slowly or even dropped
once we reach the per flow limit.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 2a37deeea71c ("tcp: TSO packets automatic sizing")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c