<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netinet, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-10-01T18:17:56Z</updated>
<entry>
<title>MFS r366324:</title>
<updated>2020-10-01T18:17:56Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2020-10-01T18:17:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6a550fd843f892a861f310356dd4227896f70d45'/>
<id>urn:sha1:6a550fd843f892a861f310356dd4227896f70d45</id>
<content type='text'>
Improve the handling of receiving unordered and unreliable user
messages using DATA chunks. Don't use fsn_included when not being
sure that it is set to an appropriate value. If the default is
used, which is -1, this can result in SCTP associaitons not
making any user visible progress.

Thanks to Yutaka Takeda for reporting this issue for the the
userland stack in https://github.com/pion/sctp/issues/138.

MFS r366329:
Improve the input validation and processing of cookies.
This avoids setting the association in an inconsistent
state, which could result in a use-after-free situation.
This can be triggered by a malicious peer, if the peer
can modify the cookie without the local endpoint recognizing
it.
Thanks to Ned Williamson for reporting the issue.

Approved by:		re (gjb)
</content>
</entry>
<entry>
<title>TPC rack: use #error rather than syntax error</title>
<updated>2020-09-07T17:31:58Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-09-07T17:31:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=26d711200c830b754630eac3b03a0fd0c8267b89'/>
<id>urn:sha1:26d711200c830b754630eac3b03a0fd0c8267b89</id>
<content type='text'>
Until the changes to make this a proper dependency are merged, avoid using
a syntax error for a user-facing error report.

PR:		249037
Suggested by:	avg
</content>
</entry>
<entry>
<title>MFC r364354: TCP Cubic: recalculate cwnd for every ACK.</title>
<updated>2020-09-03T09:09:44Z</updated>
<author>
<name>Richard Scheffenegger</name>
<email>rscheff@FreeBSD.org</email>
</author>
<published>2020-09-03T09:09:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=46fd36d518895889b63837778b5c517e660a3510'/>
<id>urn:sha1:46fd36d518895889b63837778b5c517e660a3510</id>
<content type='text'>
Since cubic calculates cwnd based on absolute
time, retaining RFC3465 (ABC) once-per-window updates
can lead to dramatic changes of cwnd in the convex
region. Updating cwnd for each incoming ack minimizes
this delta, preventing unintentional line-rate bursts.

Reviewed by:	chengc_netapp.com, tuexen (mentor)
MFC after:	2 weeks
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D26060
</content>
</entry>
<entry>
<title>MFC r364197: TCP Cubic: Have Fast Convergence Heuristic work for ECN, and align concave region</title>
<updated>2020-09-03T08:45:21Z</updated>
<author>
<name>Richard Scheffenegger</name>
<email>rscheff@FreeBSD.org</email>
</author>
<published>2020-09-03T08:45:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ccab0221c01da796617974d02c0a9cd4016a47b'/>
<id>urn:sha1:9ccab0221c01da796617974d02c0a9cd4016a47b</id>
<content type='text'>
The Cubic concave region was not aligned nicely for the very first exit from
slow start, where a 50% cwnd reduction is done instead of the normal 30%.

This addresses an issue, where a short line-rate burst could result from that
sudden jump of cwnd.

In addition, the Fast Convergence Heuristic has been expanded to work also
with ECN induced congestion response.

Submitted by:	chengc_netapp.com
Reported by:	chengc_netapp.com
Reviewed by:	tuexen (mentor), rgrimes (mentor)
Approved by:	tuexen (mentor), rgrimes (mentor)
MFC after:	3 weeks
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D25976
</content>
</entry>
<entry>
<title>MFC r364196: TCP Cubic: After leaving slowstart fix unintended cwnd jump.</title>
<updated>2020-09-03T08:41:38Z</updated>
<author>
<name>Richard Scheffenegger</name>
<email>rscheff@FreeBSD.org</email>
</author>
<published>2020-09-03T08:41:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea7c82f32968e9598e1c43171ead671569956010'/>
<id>urn:sha1:ea7c82f32968e9598e1c43171ead671569956010</id>
<content type='text'>
Initializing K to zero in D23655 introduced a miscalculation,
where cwnd would suddenly jump to cwnd_max instead of gradually
increasing, after leaving slow-start.

Properly calculating K instead of resetting it to zero resolves
this issue. Also making sure, that cwnd is recalculated at the
earliest opportunity once slow-start is over.

Reported by:	chengc_netapp.com
Reviewed by:	chengc_netapp.com, tuexen (mentor), rgrimes (mentor)
Approved by:	tuexen (mentor), rgrimes (mentor)
MFC after:	3 weeks
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D25746
</content>
</entry>
<entry>
<title>MFC r364195: Improve SACK support code for RFC6675 and PRR</title>
<updated>2020-09-03T08:38:04Z</updated>
<author>
<name>Richard Scheffenegger</name>
<email>rscheff@FreeBSD.org</email>
</author>
<published>2020-09-03T08:38:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d71469cc807a9fcdfc1a810b4732677628e301ab'/>
<id>urn:sha1:d71469cc807a9fcdfc1a810b4732677628e301ab</id>
<content type='text'>
Adding proper accounting of sacked_bytes and (per-ACK)
delivered data to the SACK scoreboard. This will
allow more aspects of RFC6675 to be implemented as well
as Proportional Rate Reduction (RFC6937).

Prior to this change, the pipe calculation controlled with
net.inet.tcp.rfc6675_pipe was also susceptible to incorrect
results when more than 3 (or 4) holes in the sequence space
were present, which can no longer all fit into a single
ACK's SACK option.

Reviewed by:	kbowling, rgrimes (mentor)
Approved by:	rgrimes (blanket)
MFC after:	3 weeks
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D18624
</content>
</entry>
<entry>
<title>MFC r364018:</title>
<updated>2020-09-01T19:54:43Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2020-09-01T19:54:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=de305dd0a04c1f7b49771a7d429e35e2f2027603'/>
<id>urn:sha1:de305dd0a04c1f7b49771a7d429e35e2f2027603</id>
<content type='text'>
  IPV6_PKTINFO support for v4-mapped IPv6 sockets

  When using v4-mapped IPv6 sockets with IPV6_PKTINFO we do not
  respect the given v4-mapped src address on the IPv4 socket.
  Implement the needed functionality. This allows single-socket
  UDP applications (such as OpenVPN) to work better on FreeBSD.

  Requested by:	Gert Doering (gert greenie.net), pfsense
  Tested by:	Gert Doering (gert greenie.net)
</content>
</entry>
<entry>
<title>MFC r364937:</title>
<updated>2020-08-29T06:54:39Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2020-08-29T06:54:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d32343d1b7c240bbf7057a8f7e0f236a22f8dc9'/>
<id>urn:sha1:3d32343d1b7c240bbf7057a8f7e0f236a22f8dc9</id>
<content type='text'>
Fix a regression with the explicit EOR mode I introduced in r364268.
</content>
</entry>
<entry>
<title>MFC 364268:</title>
<updated>2020-08-24T09:19:05Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2020-08-24T09:19:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cc13043e2c974318ce14c50eddf2562f8a0ce989'/>
<id>urn:sha1:cc13043e2c974318ce14c50eddf2562f8a0ce989</id>
<content type='text'>
Improve the handling of concurrent send() calls for SCTP sockets,
especially when having the explicit EOR mode enabled.

MFC r364270:
Remove a line which is needed and was added in
https://svnweb.freebsd.org/changeset/base/364268
</content>
</entry>
<entry>
<title>MFC r363456:</title>
<updated>2020-08-24T09:15:52Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2020-08-24T09:15:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=253a2937235773b18ce1fe91a7239fbc9f36cd3b'/>
<id>urn:sha1:253a2937235773b18ce1fe91a7239fbc9f36cd3b</id>
<content type='text'>
Clear the pointer to the socket when closing it also in case of
an ungraceful operation.
This fixes a use-after-free bug found and reported by Taylor
Brandstetter of Google by testing the userland stack.
</content>
</entry>
</feed>
