summaryrefslogtreecommitdiffstats
path: root/usr.sbin/unbound/testcode/unitmain.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2020-12-10 06:40:22 +0000
committerdlg <dlg@openbsd.org>2020-12-10 06:40:22 +0000
commit22c79bfc5a343ef1dfe575157d8cd8a0dc743910 (patch)
tree9f9f230a05d7e3fc8f8c77431471de0ab298342d /usr.sbin/unbound/testcode/unitmain.c
parentremove timespec_to_jiffies() which no longer exists in linux (diff)
downloadwireguard-openbsd-22c79bfc5a343ef1dfe575157d8cd8a0dc743910.tar.xz
wireguard-openbsd-22c79bfc5a343ef1dfe575157d8cd8a0dc743910.zip
when setting a flowid, set the M_FLOWID csum_flags bit too.
this "fixes" TCP going over an interface with fq codel enabled. the way the codel code classifies a packet without a flowid set is to randomly assign it to a bucket. this in turn means that packets will get reordered, and tcp hates that. sthen was able to find a test case and narrow down at which time the problem appeared, helped greatly. tested by sthen@ and millert@ ok sashan@ jmatthew@
Diffstat (limited to 'usr.sbin/unbound/testcode/unitmain.c')
0 files changed, 0 insertions, 0 deletions