Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161091258
D38697.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
544 B
Referenced Files
None
Subscribers
None
D38697.diff
View Options
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c
--- a/sys/kern/kern_jail.c
+++ b/sys/kern/kern_jail.c
@@ -2047,7 +2047,8 @@
continue;
}
#endif
- redo_ip4 = !prison_ip_restrict(tpr, PR_INET, &ip4);
+ if (!prison_ip_restrict(tpr, PR_INET, &ip4))
+ redo_ip4 = true;
}
mtx_unlock(&pr->pr_mtx);
}
@@ -2066,7 +2067,8 @@
continue;
}
#endif
- redo_ip6 = !prison_ip_restrict(tpr, PR_INET6, &ip6);
+ if (!prison_ip_restrict(tpr, PR_INET6, &ip6))
+ redo_ip6 = true;
}
mtx_unlock(&pr->pr_mtx);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 1, 11:49 AM (11 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34558595
Default Alt Text
D38697.diff (544 B)
Attached To
Mode
D38697: jail: Fix redoing ip restricting
Attached
Detach File
Event Timeline
Log In to Comment