diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2021-06-07 23:01:09 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-07 14:08:30 -0700 |
commit | 974d8f86cd60d85f107f86182fb071cea0345387 (patch) | |
tree | 97941324a3f94e86459e4ddb96609583a94d10f4 /net/ipv4/tcp_fastopen.c | |
parent | 84a57ae96b299eaceacc4301db222ee12563cc96 (diff) | |
download | linux-974d8f86cd60d85f107f86182fb071cea0345387.tar.gz linux-974d8f86cd60d85f107f86182fb071cea0345387.tar.bz2 linux-974d8f86cd60d85f107f86182fb071cea0345387.zip |
ipv4: Fix spelling mistakes
Fix some spelling mistakes in comments:
Dont ==> Don't
timout ==> timeout
incomming ==> incoming
necesarry ==> necessary
substract ==> subtract
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
-rw-r--r-- | net/ipv4/tcp_fastopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_fastopen.c b/net/ipv4/tcp_fastopen.c index af2814c9342a..47c32604d38f 100644 --- a/net/ipv4/tcp_fastopen.c +++ b/net/ipv4/tcp_fastopen.c @@ -526,7 +526,7 @@ bool tcp_fastopen_active_should_disable(struct sock *sk) if (!tfo_da_times) return false; - /* Limit timout to max: 2^6 * initial timeout */ + /* Limit timeout to max: 2^6 * initial timeout */ multiplier = 1 << min(tfo_da_times - 1, 6); timeout = multiplier * tfo_bh_timeout * HZ; if (time_before(jiffies, sock_net(sk)->ipv4.tfo_active_disable_stamp + timeout)) |