Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3317437pxj; Mon, 7 Jun 2021 07:49:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7SxTc4OW+PgKxZNf4M7I1oeBcTLGsm6goGisj7B+cTDJvhQ0DhkDLEbEx4wtK33zUwSaE X-Received: by 2002:a17:906:b7d7:: with SMTP id fy23mr18770606ejb.49.1623077383348; Mon, 07 Jun 2021 07:49:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623077383; cv=none; d=google.com; s=arc-20160816; b=UQYv1tyO8bQ/AkwyifdkEW85YZ00hGUPY44WKHbHJGCAGrcAz4EdkM61TOt+bGSW3z VvqLuTA/2e7ZINVmN7uWBkdyxSJvNLrYhBeecqn1EWps8zrEb4a6XtGBiSANCESN5SH0 CAcBrwgNOS258GNCIbDKpgZ2/hIvG3dz8hi04rFtniD2/v3hX4BUf75h/N8KETybuWSZ i+N7CajTkl/jMbZDgp5aoAi7NlPmxpKPtGOY773epWF3aCmgIKfq0U+Y2zdqakoM5I3r j567nCq+xvoiYuLQfV/M3v4lwb0h2fc2wloKxZz/wpDQeFXqQ2EnuKlzUsiYE7vAYkS+ 0mgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=+FfzgzIGO/LkDNEoiuIVKcXcesnCXIF1gAVyLn8jV0o=; b=pnKl/y2pGyhAL6TDrCt1EFhudN6MQnxuyka7I/1Uqtgx2vELYeKzsN9MEqKrrnVwek Fx64u716q2Oz92Ydz1mzzN6ypzNWly7XJA85AmIPjw8SCTO+k41wKlRO1Hxm/IWIGCBL mCaN4Wqb0/x9yMd/d0PoEjy0FHPziQEp1gq+T52FXTBOIL0NfR0lyHdid1ge389Lmz6g oofWHB/bDgs6AlN67blUJYT2C+QEX+hSWCVqjNB7YopHv7bfhGA3rs+JszLuOuDjS5lA bQqd2M89vMYQevIGdVqRlMlx1/cU+GEveFQqnPnJFmKhISOH4MJfDRKmH9OSBRGEa288 P6vg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h24si10698425ejt.474.2021.06.07.07.49.20; Mon, 07 Jun 2021 07:49:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230416AbhFGOta (ORCPT + 99 others); Mon, 7 Jun 2021 10:49:30 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:3454 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230344AbhFGOt3 (ORCPT ); Mon, 7 Jun 2021 10:49:29 -0400 Received: from dggeme760-chm.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4FzGNc1Pn3z6wnG; Mon, 7 Jun 2021 22:44:32 +0800 (CST) Received: from localhost.localdomain (10.175.104.82) by dggeme760-chm.china.huawei.com (10.3.19.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 7 Jun 2021 22:47:32 +0800 From: Zheng Yongjun To: , , , , , , CC: Zheng Yongjun Subject: [PATCH net-next] ipv4: Fix spelling mistakes Date: Mon, 7 Jun 2021 23:01:09 +0800 Message-ID: <20210607150109.2856253-1-zhengyongjun3@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.82] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggeme760-chm.china.huawei.com (10.3.19.106) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix some spelling mistakes in comments: Dont ==> Don't timout ==> timeout incomming ==> incoming necesarry ==> necessary substract ==> subtract Signed-off-by: Zheng Yongjun --- net/ipv4/fib_lookup.h | 2 +- net/ipv4/ipmr.c | 4 ++-- net/ipv4/tcp_fastopen.c | 2 +- net/ipv4/tcp_timer.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net/ipv4/fib_lookup.h b/net/ipv4/fib_lookup.h index b58db1ca4bfb..e184bcb19943 100644 --- a/net/ipv4/fib_lookup.h +++ b/net/ipv4/fib_lookup.h @@ -25,7 +25,7 @@ struct fib_alias { #define FA_S_ACCESSED 0x01 -/* Dont write on fa_state unless needed, to keep it shared on all cpus */ +/* Don't write on fa_state unless needed, to keep it shared on all cpus */ static inline void fib_alias_accessed(struct fib_alias *fa) { if (!(fa->fa_state & FA_S_ACCESSED)) diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 939792a38814..b8a25cefc503 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c @@ -1317,7 +1317,7 @@ static void mroute_clean_tables(struct mr_table *mrt, int flags) } /* called from ip_ra_control(), before an RCU grace period, - * we dont need to call synchronize_rcu() here + * we don't need to call synchronize_rcu() here */ static void mrtsock_destruct(struct sock *sk) { @@ -1938,7 +1938,7 @@ static void ip_mr_forward(struct net *net, struct mr_table *mrt, if (c->mfc_origin == htonl(INADDR_ANY) && true_vifi >= 0) { struct mfc_cache *cache_proxy; - /* For an (*,G) entry, we only check that the incomming + /* For an (*,G) entry, we only check that the incoming * interface is part of the static tree. */ cache_proxy = mr_mfc_find_any_parent(mrt, vif); 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)) diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c index 4ef08079ccfa..56b9d648f054 100644 --- a/net/ipv4/tcp_timer.c +++ b/net/ipv4/tcp_timer.c @@ -441,7 +441,7 @@ static void tcp_fastopen_synack_timer(struct sock *sk, struct request_sock *req) * This function gets called when the kernel timer for a TCP packet * of this socket expires. * - * It handles retransmission, timer adjustment and other necesarry measures. + * It handles retransmission, timer adjustment and other necessary measures. * * Returns: Nothing (void) */ @@ -766,7 +766,7 @@ static enum hrtimer_restart tcp_compressed_ack_kick(struct hrtimer *timer) if (!sock_owned_by_user(sk)) { if (tp->compressed_ack) { /* Since we have to send one ack finally, - * substract one from tp->compressed_ack to keep + * subtract one from tp->compressed_ack to keep * LINUX_MIB_TCPACKCOMPRESSED accurate. */ tp->compressed_ack--; -- 2.25.1