summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_core.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso2013-11-16 22:16:47 +0100
committerPablo Neira Ayuso2013-11-18 12:53:41 +0100
commit8691a9a3382f17fbf1ed808c956672c70369a2e0 (patch)
tree58ebe72586dbeb2151359c296365fbfa8f7e54d0 /net/netfilter/nf_conntrack_core.c
parentnetfilter: fix wrong byte order in nf_ct_seqadj_set internal information (diff)
downloadkernel-qcow2-linux-8691a9a3382f17fbf1ed808c956672c70369a2e0.tar.gz
kernel-qcow2-linux-8691a9a3382f17fbf1ed808c956672c70369a2e0.tar.xz
kernel-qcow2-linux-8691a9a3382f17fbf1ed808c956672c70369a2e0.zip
netfilter: nft_compat: fix error path in nft_parse_compat()
The patch 0ca743a55991: "netfilter: nf_tables: add compatibility layer for x_tables", leads to the following Smatch warning: "net/netfilter/nft_compat.c:140 nft_parse_compat() warn: signedness bug returning '(-34)'" This nft_parse_compat function returns error codes but the return type is u8 so the error codes are transformed into small positive values. The callers don't check the return. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_core.c')
0 files changed, 0 insertions, 0 deletions