[PATCH] netfilter: Correct misspelling comment word against

From: jiangyunshui
Date: Mon Nov 27 2023 - 22:26:16 EST


From: yunshui <jiangyunshui@xxxxxxxxxx>

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@xxxxxxxxxx>
Signed-off-by: yunshui <jiangyunshui@xxxxxxxxxx>
---
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