[Bug 260120] [sctp] DSCP/TOS not always set during an association establishment (IPv6)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Nov 2021 14:58:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260120

--- Comment #1 from Albin <albin.hellqvist@ericsson.com> ---
Created attachment 229797
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229797&action=edit
Test files for reproducing the bug

I added some tests if it helps. They can be compiled using:
g++ -o client client.cpp utils.cpp
g++ -o server server.cpp utils.cpp

I have tested it in VMs with the SCTP module enabled. I have also added alias
addresses to the loopback interface so that I could run both the server and
client over the loopback interface.

These alias addresess were added:
127.0.0.2
127.0.0.3
127.0.0.4
127.0.0.5
127.0.0.6
127.0.0.7
::2
::3
::4
::5
::6
::7

The test can be started using:
./server --poll --ipv6 --sctp --test-dscp
./client --poll --ipv6 --sctp --test-dscp

IPv4 as well as TCP can be tested as well to compare the behavior.

-- 
You are receiving this mail because:
You are the assignee for the bug.