blob: d2583b56ebd6605d04cc7bd9e7c06207ce0502a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/syscalls/setsockopt.c.orig 2017-11-03 09:14:07.000000000 -0600
+++ b/syscalls/setsockopt.c 2017-11-18 13:44:19.283946230 -0700
@@ -90,7 +90,7 @@ static void do_random_sso(struct sockopt
retry:
switch (rnd() % 4) {
case 0: /* do a random protocol, even if it doesn't match this socket. */
- i = rnd() % PF_MAX;
+ i = rnd() % TRINITY_PF_MAX;
proto = net_protocols[i].proto;
if (proto != NULL) {
if (proto->setsockopt != NULL) {
|