Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163278667
D46592.id.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.id.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
Wed, Jul 22, 4:34 PM (9 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35372363
Default Alt Text
D46592.id.diff (588 B)
Attached To
Mode
D46592: pf: handle ACK prioritization for v6
Attached
Detach File
Event Timeline
Log In to Comment