2020-09-09 12:54:34

by 王擎

[permalink] [raw]
Subject: [PATCH] net/netfilter: fix a typo for nf_conntrack_proto_dccp.c

Change the comment typo: "direcly" -> "directly".

Signed-off-by: Wang Qing <[email protected]>
---
net/netfilter/nf_conntrack_proto_dccp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/netfilter/nf_conntrack_proto_dccp.c b/net/netfilter/nf_conntrack_proto_dccp.c
index b3f4a33..d9bb0ce
--- a/net/netfilter/nf_conntrack_proto_dccp.c
+++ b/net/netfilter/nf_conntrack_proto_dccp.c
@@ -340,7 +340,7 @@ dccp_state_table[CT_DCCP_ROLE_MAX + 1][DCCP_PKT_SYNCACK + 1][CT_DCCP_MAX + 1] =
* sNO -> sIV No connection
* sRQ -> sIV No connection
* sRS -> sIV No connection
- * sPO -> sOP -> sCG Move direcly to CLOSING
+ * sPO -> sOP -> sCG Move directly to CLOSING
* sOP -> sCG Move to CLOSING
* sCR -> sIV Close after CloseReq is invalid
* sCG -> sCG Retransmit
--
2.7.4


2020-09-09 16:35:51

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH] net/netfilter: fix a typo for nf_conntrack_proto_dccp.c

Hi Wang,

On Wed, Sep 09, 2020 at 08:12:44PM +0800, Wang Qing wrote:
> Change the comment typo: "direcly" -> "directly".
>
> Signed-off-by: Wang Qing <[email protected]>

git log tells me that the correct prefix for this patch
is "netfilter: conntrack:" rather than "net/netfilter:"

Probably this patch is targeted at nf-next and should include nf-next
in the subject like this: [PATCH nf-next] ...

> ---
> net/netfilter/nf_conntrack_proto_dccp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/netfilter/nf_conntrack_proto_dccp.c b/net/netfilter/nf_conntrack_proto_dccp.c
> index b3f4a33..d9bb0ce
> --- a/net/netfilter/nf_conntrack_proto_dccp.c
> +++ b/net/netfilter/nf_conntrack_proto_dccp.c
> @@ -340,7 +340,7 @@ dccp_state_table[CT_DCCP_ROLE_MAX + 1][DCCP_PKT_SYNCACK + 1][CT_DCCP_MAX + 1] =
> * sNO -> sIV No connection
> * sRQ -> sIV No connection
> * sRS -> sIV No connection
> - * sPO -> sOP -> sCG Move direcly to CLOSING
> + * sPO -> sOP -> sCG Move directly to CLOSING
> * sOP -> sCG Move to CLOSING
> * sCR -> sIV Close after CloseReq is invalid
> * sCG -> sCG Retransmit
> --
> 2.7.4
>