prandom_u32() previously was only calling get_random_u32() so it's been dropped with Linux 6.1.0. So let's directly call get_random_u32() if Linux version >= 6.1.0. Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Use the official method netfilter/nf_nat_masquerade.c: 78ca55889a/net/netfilter/nf_nat_masquerade.c (L52)
78ca55889a/net/netfilter/nf_nat_masquerade.c (L52)
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>