commit | f4d04a991d238afb03b692ec5ba9eada3b627a59 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Aug 31 17:47:56 2022 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 15 12:39:46 2022 +0200 |
tree | 6374404078781d415075d3c6036a588dfdc893ab | |
parent | b5aa83141aa97f81c8e06051e4bd925bfb5474fb [diff] |
tipc: fix shift wrapping bug in map_get() [ Upstream commit e2b224abd9bf45dcb55750479fc35970725a430b ] There is a shift wrapping bug in this code so anything thing above 31 will return false. Fixes: 35c55c9877f8 ("tipc: add neighbor monitoring framework") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>