Page MenuHomeFreeBSD

D37601.id.diff
No OneTemporary

D37601.id.diff

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

Mime Type
text/plain
Expires
Thu, Nov 14, 4:57 PM (2 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14631030
Default Alt Text
D37601.id.diff (399 B)

Event Timeline