summaryrefslogtreecommitdiff
path: root/net/netfilter
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-12-05 13:35:11 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-12 12:11:52 +0100
commit38061de32f9c9f943e5fe1685e8473ccad2d5098 (patch)
treec2080997a21dab5c265564b92b3b5f120455590d /net/netfilter
parent210670f32876544b6cb7613dc4d1c7b63dec03d0 (diff)
netfilter: uapi: Avoid undefined left-shift in xt_sctp.h
[ Upstream commit 164166558aacea01b99c8c8ffb710d930405ba69 ] With 'bytes(__u32)' being 32, a left-shift of 31 may happen which is undefined for the signed 32-bit value 1. Avoid this by declaring 1 as unsigned. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions