Page MenuHomeFreeBSD

D47495.diff
No OneTemporary

D47495.diff

diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c
--- a/sys/netpfil/pf/pf.c
+++ b/sys/netpfil/pf/pf.c
@@ -1433,7 +1433,9 @@
s->timeout = PFTM_UNLINKED;
PF_HASHROW_UNLOCK(ih);
KEYS_UNLOCK();
- uma_zfree(V_pf_state_key_z, sk);
+ uma_zfree(V_pf_state_key_z, skw);
+ if (skw != sks)
+ uma_zfree(V_pf_state_key_z, sks);
if (idx == PF_SK_STACK)
pf_detach_state(s);
return (EEXIST); /* collision! */

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 9:07 PM (21 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14576899
Default Alt Text
D47495.diff (453 B)

Event Timeline