]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
build: support for Linux 6.1
authorJohn Thomson <git@johnthomson.fastmail.com.au>
Mon, 24 Oct 2022 09:58:02 +0000 (11:58 +0200)
committerJan Engelhardt <jengelh@inai.de>
Tue, 25 Oct 2022 08:41:35 +0000 (10:41 +0200)
commit71396f941d7e4d772fc5d7f0b0b7cc309766903d
tree77befd228078a50812f8aeb7e3a22a3fd122186c
parent7ad55ad6210d450521664f64453f854b3ba13d8d
build: support for Linux 6.1

6.1 commit de492c83cae0 ("prandom: remove unused functions") removed
prandom_u32, which was replaced and deprecated for get_random_u32 in
5.19 d4150779e60f ("random32: use real rng for non-deterministic
 randomness"). get_random_u32 was introduced in 4.11 c440408cf690
("random: convert get_random_int/long into get_random_u32/u64")

Use the cocci script from 81895a65ec63 ("treewide: use prandom_u32_max()
when possible, part 1"), along with a best guess for _max changes, introduced:
3.14 f337db64af05 ("random32: add prandom_u32_max and convert open coded users")
configure.ac
extensions/xt_CHAOS.c
extensions/xt_TARPIT.c