https://github.com/torvalds/linux
Revision 94945ad2b330207cded0fd8d4abebde43a776dfb authored by Pablo Neira Ayuso on 27 May 2020, 10:17:34 UTC, committed by Pablo Neira Ayuso on 27 May 2020, 11:39:06 UTC
net/netfilter/nf_conntrack_core.c: In function nf_confirm_cthelper:
net/netfilter/nf_conntrack_core.c:2117:15: warning: comparison of unsigned expression in < 0 is always false [-Wtype-limits]
 2117 |   if (protoff < 0 || (frag_off & htons(~0x7)) != 0)
      |               ^

ipv6_skip_exthdr() returns a signed integer.

Reported-by: Colin Ian King <colin.king@canonical.com>
Fixes: 703acd70f249 ("netfilter: nfnetlink_cthelper: unbreak userspace helper support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
1 parent 46c1e06
History
Tip revision: 94945ad2b330207cded0fd8d4abebde43a776dfb authored by Pablo Neira Ayuso on 27 May 2020, 10:17:34 UTC
netfilter: conntrack: comparison of unsigned in cthelper confirmation
Tip revision: 94945ad
File Mode Size
Kconfig -rw-r--r-- 72.9 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 16.0 KB
do_mounts.h -rw-r--r-- 1.1 KB
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_md.c -rw-r--r-- 7.9 KB
do_mounts_rd.c -rw-r--r-- 8.1 KB
init_task.c -rw-r--r-- 5.4 KB
initramfs.c -rw-r--r-- 14.6 KB
main.c -rw-r--r-- 36.6 KB
noinitramfs.c -rw-r--r-- 873 bytes
version.c -rw-r--r-- 1.3 KB

back to top