[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20231117092505.34063-1-jiangyunshui@kylinos.cn>
Date: Fri, 17 Nov 2023 17:25:05 +0800
From: jiangyunshui <jiangyunshui@...inos.cn>
To: linux-kernel@...r.kernel.org
Cc: pablo@...filter.org, kadlec@...filter.org, fw@...len.de,
yunshui <jiangyunshui@...inos.cn>, k2ci <kernel-bot@...inos.cn>
Subject: [PATCH] netfilter: Correct misspelling comment word against
From: yunshui <jiangyunshui@...inos.cn>
The word 'agaist' on comment of struct tcp_error is misspelled.
Correct it to be 'against', avoiding confusing other developers.
Reported-by: k2ci <kernel-bot@...inos.cn>
Signed-off-by: yunshui <jiangyunshui@...inos.cn>
---
net/netfilter/nf_conntrack_proto_tcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netfilter/nf_conntrack_proto_tcp.c b/net/netfilter/nf_conntrack_proto_tcp.c
index 4018acb1d674..6c7d1df2a11e 100644
--- a/net/netfilter/nf_conntrack_proto_tcp.c
+++ b/net/netfilter/nf_conntrack_proto_tcp.c
@@ -796,7 +796,7 @@ static void tcp_error_log(const struct sk_buff *skb,
nf_l4proto_log_invalid(skb, state, IPPROTO_TCP, "%s", msg);
}
-/* Protect conntrack agaist broken packets. Code taken from ipt_unclean.c. */
+/* Protect conntrack against broken packets. Code taken from ipt_unclean.c. */
static bool tcp_error(const struct tcphdr *th,
struct sk_buff *skb,
unsigned int dataoff,
--
2.25.1
Powered by blists - more mailing lists