Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108647475
D46592.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
588 B
Referenced Files
None
Subscribers
None
D46592.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
@@ -9525,6 +9525,9 @@
break;
}
+ if ((pd.hdr.tcp.th_flags & TH_ACK) && pd.p_len == 0)
+ use_2nd_queue = 1;
+
action = pf_normalize_tcp(kif, m, 0, off, h, &pd);
if (action == PF_DROP)
goto done;
@@ -9701,7 +9704,7 @@
} else {
if (s != NULL)
pd.pf_mtag->qid_hash = pf_state_hash(s);
- if (pd.tos & IPTOS_LOWDELAY)
+ if (use_2nd_queue || (pd.tos & IPTOS_LOWDELAY))
pd.pf_mtag->qid = pd.act.pqid;
else
pd.pf_mtag->qid = pd.act.qid;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 1:50 AM (10 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16236275
Default Alt Text
D46592.diff (588 B)
Attached To
Mode
D46592: pf: handle ACK prioritization for v6
Attached
Detach File
Event Timeline
Log In to Comment