Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157282036
D46599.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
454 B
Referenced Files
None
Subscribers
None
D46599.diff
View Options
diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c
--- a/sys/netpfil/pf/pf_ioctl.c
+++ b/sys/netpfil/pf/pf_ioctl.c
@@ -2951,8 +2951,10 @@
NET_EPOCH_ENTER(et);
PF_RULES_RUNLOCK();
nvl = pf_keth_rule_to_nveth_rule(rule);
- if (pf_keth_anchor_nvcopyout(rs, rule, nvl))
+ if (pf_keth_anchor_nvcopyout(rs, rule, nvl)) {
+ NET_EPOCH_EXIT(et);
ERROUT(EBUSY);
+ }
NET_EPOCH_EXIT(et);
if (nvl == NULL)
ERROUT(ENOMEM);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 21, 12:01 AM (6 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33347658
Default Alt Text
D46599.diff (454 B)
Attached To
Mode
D46599: pf: ensure we exit net_epoch if pf_keth_anchor_nvcopyout() fails
Attached
Detach File
Event Timeline
Log In to Comment