Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102530639
D37601.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
399 B
Referenced Files
None
Subscribers
None
D37601.id.diff
View Options
diff --git a/sys/netpfil/pf/if_pfsync.c b/sys/netpfil/pf/if_pfsync.c
--- a/sys/netpfil/pf/if_pfsync.c
+++ b/sys/netpfil/pf/if_pfsync.c
@@ -662,6 +662,11 @@
cleanup_state: /* pf_state_insert() frees the state keys. */
if (st) {
+ /*
+ * The state has not yet been inserted or the insertion has
+ * failed.
+ */
+ st->timeout = PFTM_UNLINKED;
pf_free_state(st);
}
return (error);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 14, 4:12 PM (1 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14631030
Default Alt Text
D37601.id.diff (399 B)
Attached To
Mode
D37601: Mark imported state as PFTM_UNLINKED before freeing it
Attached
Detach File
Event Timeline
Log In to Comment