From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Feng Gao <gfree.wind@gmail.com>
Cc: Netfilter Developer Mailing List <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH] netfilter: Remove the duplicated word "see" in the comment when set the IPS_ASSURED_BIT in tcp_packet
Date: Wed, 19 Aug 2015 21:25:37 +0200 [thread overview]
Message-ID: <20150819192537.GA4636@salvia> (raw)
In-Reply-To: <CA+6hz4o4TbcAhgnC8sbN6utxAR=wWOMkd_=k+hGVqW+tZZxuZw@mail.gmail.com>
On Thu, Aug 13, 2015 at 04:22:28PM +0800, Feng Gao wrote:
> Hi Pablo,
>
> There is one duplicated word "see" in the comment when set the
> IPS_ASSURED_BIT in tcp_packet.
>
> The attachment is the patch file.
>
> The following is the change.
>
> From d092aaa3dc847ed08b27081a467e39727d6627cb Mon Sep 17 00:00:00 2001
> From: Feng Gao <gfree.wind@gmail.com>
> Date: Thu, 13 Aug 2015 16:14:36 +0800
> Subject: [PATCH 1/1] netfilter: Remove the duplicated word "see" in the
> comment when set the IPS_ASSURED_BIT in tcp_packet
>
> Signed-off-by: Feng Gao <gfree.wind@gmail.com>
> ---
> 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 70383de..697210f 100644
> --- a/net/netfilter/nf_conntrack_proto_tcp.c
> +++ b/net/netfilter/nf_conntrack_proto_tcp.c
> @@ -1088,7 +1088,7 @@ static int tcp_packet(struct nf_conn *ct,
> && (old_state == TCP_CONNTRACK_SYN_RECV
> || old_state == TCP_CONNTRACK_ESTABLISHED)
> && new_state == TCP_CONNTRACK_ESTABLISHED) {
> - /* Set ASSURED if we see see valid ack in ESTABLISHED
> + /* Set ASSURED if we see valid ack in ESTABLISHED
> after SYN_RECV or a valid answer for a picked up
> connection. */
I think this is a good chance to fix the comment style, this should
be:
/* Set ASSURED if we see valid ack in ESTABLISHED after
* SYN_RECV or a valid answer for a picked up connection.
*/
Would you update the comment style in the same patch and resubmit,
please?
I'd also suggest a smaller patch title, eg.
netfilter: nf_ct_tcp: Remove the duplicated word in comment
Thanks!
next prev parent reply other threads:[~2015-08-19 19:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-13 8:22 [PATCH] netfilter: Remove the duplicated word "see" in the comment when set the IPS_ASSURED_BIT in tcp_packet Feng Gao
2015-08-19 19:25 ` Pablo Neira Ayuso [this message]
2015-08-20 0:47 ` Feng Gao
2015-08-20 0:49 ` Feng Gao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150819192537.GA4636@salvia \
--to=pablo@netfilter.org \
--cc=gfree.wind@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.