aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/team/team_mode_random.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/team/team_mode_random.c')
-rw-r--r--drivers/net/team/team_mode_random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/team/team_mode_random.c b/drivers/net/team/team_mode_random.c
index 9eabfaa22f3e..5ca14d463ba7 100644
--- a/drivers/net/team/team_mode_random.c
+++ b/drivers/net/team/team_mode_random.c
@@ -18,7 +18,7 @@
18 18
19static u32 random_N(unsigned int N) 19static u32 random_N(unsigned int N)
20{ 20{
21 return reciprocal_divide(random32(), N); 21 return reciprocal_divide(prandom_u32(), N);
22} 22}
23 23
24static bool rnd_transmit(struct team *team, struct sk_buff *skb) 24static bool rnd_transmit(struct team *team, struct sk_buff *skb)