All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org, kernel test robot <lkp@intel.com>
Subject: Re: [PATCH nf] netfilter: conntrack: fix ipv6 exthdr error check
Date: Wed, 21 Dec 2022 17:34:21 +0100	[thread overview]
Message-ID: <Y6M1jWj/SJsAVj3s@salvia> (raw)
In-Reply-To: <20221215141633.13253-1-fw@strlen.de>

On Thu, Dec 15, 2022 at 03:16:33PM +0100, Florian Westphal wrote:
> smatch warnings:
> net/netfilter/nf_conntrack_proto.c:167 nf_confirm() warn: unsigned 'protoff' is never less than zero.
> 
> We need to check if ipv6_skip_exthdr() returned an error, but protoff is
> unsigned.  Use a signed integer for this.

Applied, thanks

      reply	other threads:[~2022-12-21 16:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-15  4:00 net/netfilter/nf_conntrack_proto.c:167 nf_confirm() warn: unsigned 'protoff' is never less than zero kernel test robot
2022-12-15 14:16 ` [PATCH nf] netfilter: conntrack: fix ipv6 exthdr error check Florian Westphal
2022-12-21 16:34   ` 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=Y6M1jWj/SJsAVj3s@salvia \
    --to=pablo@netfilter.org \
    --cc=fw@strlen.de \
    --cc=lkp@intel.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.