projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[cascardo/linux.git]
/
net
/
openvswitch
/
actions.c
diff --git
a/net/openvswitch/actions.c
b/net/openvswitch/actions.c
index
716b7ee
..
2c77e7b
100644
(file)
--- a/
net/openvswitch/actions.c
+++ b/
net/openvswitch/actions.c
@@
-445,7
+445,7
@@
static int sample(struct datapath *dp, struct sk_buff *skb,
a = nla_next(a, &rem)) {
switch (nla_type(a)) {
case OVS_SAMPLE_ATTR_PROBABILITY:
- if (
net_random
() >= nla_get_u32(a))
+ if (
prandom_u32
() >= nla_get_u32(a))
return 0;
break;