WSL2-Linux-Kernel/net
Jason A. Donenfeld 8032bf1233 treewide: use get_random_u32_below() instead of deprecated function
This is a simple mechanical transformation done by:

@@
expression E;
@@
- prandom_u32_max
+ get_random_u32_below
  (E)

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Darrick J. Wong <djwong@kernel.org> # for xfs
Reviewed-by: SeongJae Park <sj@kernel.org> # for damon
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> # for infiniband
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> # for arm
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # for mmc
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-11-18 02:15:15 +01:00
..
6lowpan
9p net/9p: clarify trans_fd parse_opt failure handling 2022-10-07 21:23:09 +09:00
802 treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
8021q
appletalk
atm net/atm: fix proc_mpc_write incorrect return value 2022-10-15 11:08:36 +01:00
ax25
batman-adv treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
bluetooth treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
bpf
bpfilter
bridge bridge: Fix flushing of dynamic FDB entries 2022-11-02 20:47:09 -07:00
caif
can treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
ceph treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
core treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
dcb
dccp treewide: use get_random_{u8,u16}() when possible, part 1 2022-10-11 17:42:58 -06:00
dns_resolver
dsa net: dsa: fall back to default tagger if we can't load the one from DT 2022-10-28 21:58:30 -07:00
ethernet
ethtool ethtool: eeprom: fix null-deref on genl_info in dump 2022-10-24 19:08:07 -07:00
hsr net: hsr: avoid possible NULL deref in skb_clone() 2022-10-18 19:18:27 -07:00
ieee802154 net: ieee802154: fix error return code in dgram_bind() 2022-10-07 09:29:17 +02:00
ife
ipv4 treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
ipv6 treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
iucv
kcm kcm: do not sense pfmemalloc status in kcm_sendpage() 2022-10-27 11:25:13 -07:00
key
l2tp
l3mdev
lapb
llc
mac80211 wifi: mac80211: Set TWT Information Frame Disabled bit as 1 2022-11-02 09:50:40 +01:00
mac802154 mac802154: Fix LQI recording 2022-10-24 11:07:39 +02:00
mctp mctp: Fix an error handling path in mctp_init() 2022-11-09 19:26:08 -08:00
mpls
mptcp mptcp: fix abba deadlock on fastopen 2022-10-24 21:13:56 -07:00
ncsi
netfilter treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
netlabel
netlink treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
netrom
nfc NFC: hci: Split memcpy() of struct hcp_message flexible array 2022-09-27 07:45:18 -07:00
nsh
openvswitch net: openvswitch: add missing .resv_start_op 2022-10-28 20:19:53 -07:00
packet treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
phonet
psample
qrtr
rds treewide: use get_random_{u8,u16}() when possible, part 2 2022-10-11 17:42:58 -06:00
rfkill
rose rose: Fix NULL pointer dereference in rose_send_frame() 2022-11-02 11:57:30 +00:00
rxrpc
sched treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
sctp treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
smc net/smc: Fix possible leaked pernet namespace in smc_init() 2022-11-02 20:42:09 -07:00
strparser
sunrpc treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
switchdev
tipc treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
tls tls: strp: make sure the TCP skbs do not have overlapping data 2022-10-14 08:25:26 +01:00
unix net: remove SOCK_SUPPORT_ZC from sockmap 2022-10-28 20:21:25 -07:00
vmw_vsock treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
wireless wifi: cfg80211: Fix bitrates overflow issue 2022-10-21 12:36:35 +02:00
x25
xdp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-10-03 17:44:18 -07:00
xfrm treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
Kconfig
Kconfig.debug
Makefile
compat.c
devres.c
socket.c d_path pile 2022-10-06 16:55:41 -07:00
sysctl_net.c