Re: [xtables-addons PATCH v1] build: support for linux 6.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2022-10-24 11:58, John Thomson wrote:

>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")
>
>Signed-off-by: John Thomson <git@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
>---
>v1: no #if kver: compat_xtables.h warns kernels below 4.16 not supported

Applied, pushed 3.22.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux