commit | 714b98566f4a85e9ff7ed5151bf8dd4b5cdff85d | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Thu Dec 05 13:35:11 2019 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 12 11:24:21 2020 +0100 |
tree | e92321e96d481520c6f612598667b58a7bfe12e0 | |
parent | b8c68da60cfae131b888c78a8bcc2a1d1df04e43 [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>