Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2021 12:58:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260114] [sctp] SO_SNDLOWAT is not accounted for when sending data
Message-ID:  <bug-260114-227-VrnEyy1GBp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260114-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260114-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260114

--- Comment #1 from Albin <albin.hellqvist@gmail.com> ---
Created attachment 229789
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229789&action=
=3Dedit
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 ali=
as
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 --ipv4 --sctp --test-lower-water-mark
./client --poll --ipv4 --sctp --test-lower-water-mark

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260114-227-VrnEyy1GBp>