netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Taehee Yoo <ap420073@gmail.com>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, Pablo Neira Ayuso <pablo@netfilter.org>,
	Florian Westphal <fw@strlen.de>,
	Netfilter Developer Mailing List
	<netfilter-devel@vger.kernel.org>
Subject: Re: [RFC PATCH] netfilter: nf_nat_snmp_basic: snmp_version() can be static
Date: Mon, 8 Jan 2018 00:17:24 +0900	[thread overview]
Message-ID: <CAMArcTVnjhU46xJ0jJWrbStGuiU-Cy2BTe31-L0nqKOWPmgt6Q@mail.gmail.com> (raw)
In-Reply-To: <20171226032557.GA27398@lkp-wsm-ep2>

2017-12-26 12:25 GMT+09:00 kbuild test robot <lkp@intel.com>:
>
> Fixes: 499b2f89cea8 ("netfilter: nf_nat_snmp_basic: use asn1 decoder library")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>  nf_nat_snmp_basic_main.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/ipv4/netfilter/nf_nat_snmp_basic_main.c b/net/ipv4/netfilter/nf_nat_snmp_basic_main.c
> index b6e2770..b16d3ad 100644
> --- a/net/ipv4/netfilter/nf_nat_snmp_basic_main.c
> +++ b/net/ipv4/netfilter/nf_nat_snmp_basic_main.c
> @@ -101,8 +101,8 @@ static void fast_csum(struct snmp_ctx *ctx, unsigned char offset)
>                                              ~csum_unfold(*ctx->check)));
>  }
>
> -int snmp_version(void *context, size_t hdrlen, unsigned char tag,
> -                const void *data, size_t datalen)
> +static int snmp_version(void *context, size_t hdrlen, unsigned char tag,
> +                       const void *data, size_t datalen)
>  {
>         if (*(unsigned char *)data > 1)
>                 return -ENOTSUPP;

After this RFC, I found wrong code in my V4 patch
that is snmp_version() is not used.
I sent V5 patch that fixed this.

Thank you!

      reply	other threads:[~2018-01-07 15:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-25 15:00 [PATCH V4 5/5] netfilter: nf_nat_snmp_basic: use asn1 decoder library Taehee Yoo
2017-12-26  3:25 ` kbuild test robot
2017-12-26  3:25 ` [RFC PATCH] netfilter: nf_nat_snmp_basic: snmp_version() can be static kbuild test robot
2018-01-07 15:17   ` Taehee Yoo [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=CAMArcTVnjhU46xJ0jJWrbStGuiU-Cy2BTe31-L0nqKOWPmgt6Q@mail.gmail.com \
    --to=ap420073@gmail.com \
    --cc=fw@strlen.de \
    --cc=kbuild-all@01.org \
    --cc=lkp@intel.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).