Home
last modified time | relevance | path

Searched hist:"5 eb119da" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dnf_conntrack_proto.c5eb119da Thu Dec 15 08:16:33 CST 2022 Florian Westphal <fw@strlen.de> netfilter: conntrack: fix ipv6 exthdr error check

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.

Fixes: a70e483460d5 ("netfilter: conntrack: merge ipv4+ipv6 confirm functions")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>