All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: James Yonan <james@openvpn.net>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] netfilter: in nf_nat_initialized(), use const struct nf_conn *
Date: Mon, 11 Jul 2022 16:40:10 +0200	[thread overview]
Message-ID: <Ysw2Snc61eGytrj1@salvia> (raw)
In-Reply-To: <20220629192210.541840-1-james@openvpn.net>

On Wed, Jun 29, 2022 at 01:22:10PM -0600, James Yonan wrote:
> nf_nat_initialized() doesn't modify passed struct nf_conn,
> so declare as const.
> 
> This is helpful for code readability and makes it possible
> to call nf_nat_initialized() with a const struct nf_conn *.

Applied, thanks

      reply	other threads:[~2022-07-11 14:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-29 19:22 [PATCH] netfilter: in nf_nat_initialized(), use const struct nf_conn * James Yonan
2022-07-11 14:40 ` Pablo Neira Ayuso [this message]

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=Ysw2Snc61eGytrj1@salvia \
    --to=pablo@netfilter.org \
    --cc=james@openvpn.net \
    --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.