Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177847845
D46583.1795422793.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
881 B
Referenced Files
None
Subscribers
None
D46583.1795422793.diff
View Options
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
@@ -5456,7 +5456,7 @@
if (s->state_flags & PFSTATE_SCRUB_TCP &&
pf_normalize_tcp_init(m, off, pd, th, &s->src, &s->dst)) {
REASON_SET(&reason, PFRES_MEMORY);
- goto drop;
+ goto csfailed;
}
if (s->state_flags & PFSTATE_SCRUB_TCP && s->src.scrub &&
pf_normalize_tcp_stateful(m, off, pd, &reason, th, s,
@@ -5465,13 +5465,13 @@
DPFPRINTF(PF_DEBUG_URGENT,
("pf_normalize_tcp_stateful failed on first "
"pkt\n"));
- goto drop;
+ goto csfailed;
}
} else if (pd->proto == IPPROTO_SCTP) {
if (pf_normalize_sctp_init(m, off, pd, &s->src, &s->dst))
- goto drop;
+ goto csfailed;
if (! (pd->sctp_flags & (PFDESC_SCTP_INIT | PFDESC_SCTP_ADD_IP)))
- goto drop;
+ goto csfailed;
}
s->direction = pd->dir;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 23, 8:33 AM (16 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41926389
Default Alt Text
D46583.1795422793.diff (881 B)
Attached To
Mode
D46583: pf: fix potential memory leaks in pf_create_state()
Attached
Detach File
Event Timeline