diff options
author | 2022-12-15 15:16:33 +0100 | |
---|---|---|
committer | 2022-12-21 17:34:00 +0100 | |
commit | 5eb119da94ac5d67a31eaa869621dc6e25eb125e (patch) | |
tree | 9474ccc2b67f0d427cd6fcec7eb2519bafca7b67 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: fec: check the return value of build_skb() (diff) | |
download | wireguard-linux-5eb119da94ac5d67a31eaa869621dc6e25eb125e.tar.xz wireguard-linux-5eb119da94ac5d67a31eaa869621dc6e25eb125e.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions