diff mbox series

net/netfilter: fix a typo for nf_conntrack_proto_dccp.c

Message ID 1599653567-27147-1-git-send-email-wangqing@vivo.com
State Changes Requested
Delegated to: Pablo Neira
Headers show
Series net/netfilter: fix a typo for nf_conntrack_proto_dccp.c | expand

Commit Message

王擎 Sept. 9, 2020, 12:12 p.m. UTC
Change the comment typo: "direcly" -> "directly".

Signed-off-by: Wang Qing <wangqing@vivo.com>
---
 net/netfilter/nf_conntrack_proto_dccp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Horman Sept. 9, 2020, 4:34 p.m. UTC | #1
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 <wangqing@vivo.com>

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
>
diff mbox series

Patch

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