Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151012019
D46583.id143480.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
881 B
Referenced Files
None
Subscribers
None
D46583.id143480.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, Apr 6, 11:09 AM (13 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30962877
Default Alt Text
D46583.id143480.diff (881 B)
Attached To
Mode
D46583: pf: fix potential memory leaks in pf_create_state()
Attached
Detach File
Event Timeline
Log In to Comment