History log of /freebsd-current/sys/netinet/sctp_ss_functions.c
Revision Date Author Comments
# c3179e66 18-Aug-2023 Michael Tuexen <tuexen@FreeBSD.org>

sctp: cleanup cdefs.h include


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 66d6fd53 23-Apr-2023 Michael Tuexen <tuexen@FreeBSD.org>

sctp: use constants from RFC 8260 to improve compliance

Keep the old constants for backwards compatibility.

MFC after: 1 week


# e7e65008 29-Mar-2022 Michael Tuexen <tuexen@FreeBSD.org>

sctp: fix typos

Thanks to David Sanders for fixing the typos in the userland stack.

MFC after: 3 days


# 5ac91821 28-Mar-2022 Michael Tuexen <tuexen@FreeBSD.org>

sctp: get rid of stcb send lock

Just use the stcb lock instead to simplify locking.

Reported by: syzbot+d00b202063150f85b110@syzkaller.appspotmail.com
Reported by: syzbot+87f268a0a6d2d6383306@syzkaller.appspotmail.com
MFC after: 3 days


# bd19202c 08-Oct-2021 Michael Tuexen <tuexen@FreeBSD.org>

sctp: improve KASSERT messages

MFC after: 1 week


# 3ff37339 01-Oct-2021 Michael Tuexen <tuexen@FreeBSD.org>

sctp: don't keep being locked on a stream which is removed

Reported by: syzbot+f5f551e8a3a0302a4914@syzkaller.appspotmail.com
MFC after: 1 week


# 28ea9470 28-Sep-2021 Michael Tuexen <tuexen@FreeBSD.org>

sctp: provide a specific stream scheduler function for FCFS

A KASSERT in the genric routine does not apply and triggers
incorrectly.

Reported by: syzbot+8435af157238c6a11430@syzkaller.appspotmail.com
MFC after: 1 week


# fa947a36 28-Sep-2021 Michael Tuexen <tuexen@FreeBSD.org>

sctp: cleanup and adding KASSERT()s, no functional change

MFC after: 1 week


# 414499b3 23-Sep-2021 Michael Tuexen <tuexen@FreeBSD.org>

sctp: Cleanup stream schedulers.

No functional change intended.

MFC after: 1 week


# 762ae0ec 21-Sep-2021 Michael Tuexen <tuexen@FreeBSD.org>

sctp: Simplify stream scheduler usage

Callers are getting the stcb send lock, so just KASSERT that.
No need to signal this when calling stream scheduler functions.
No functional change intended.

MFC after: 1 week


# e19d93b1 19-Sep-2021 Michael Tuexen <tuexen@FreeBSD.org>

sctp: fix FCFS stream scheduler

Reported by: syzbot+c6793f0f0ce698bce230@syzkaller.appspotmail.com
MFC after: 1 week


# 183502d1 13-Mar-2021 Gordon Bergling <gbe@FreeBSD.org>

Fix a few typos in comments

- trough -> through

MFC after: 1 week


# 662c1305 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

net: clean up empty lines in .c and .h files


# 44710431 14-Jun-2020 Michael Tuexen <tuexen@FreeBSD.org>

Cleanups, no functional change.

MFC after: 1 week


# a610bb21 17-Feb-2020 Michael Tuexen <tuexen@FreeBSD.org>

Fix the non-default stream schedulers such that do not interleave
user messages when it is now allowed.

Thanks to Christian Wright for reporting the issue for the userland
stack and providing a fix for the priority scheduler.

MFC after: 1 week


# 7c96d54f 25-Mar-2019 Michael Tuexen <tuexen@FreeBSD.org>

Initialize scheduler specific data for the FCFS scheduler.
This is joint work with rrs@. The issue was reported by using
syzkaller.

MFC after: 1 week


# a458a6e6 08-Mar-2019 Michael Tuexen <tuexen@FreeBSD.org>

Some cleanup and consistency improvements.

MFC after: 3 days


# e6dcce69 07-Mar-2019 Michael Tuexen <tuexen@FreeBSD.org>

After removing an entry from the stream scheduler list, set the pointers
to NULL, since we are checking for it in case the element gets inserted
again.

This issue was found by running syzkaller.

MFC after: 3 days


# b0471b4b 19-Jul-2018 Michael Tuexen <tuexen@FreeBSD.org>

Revert https://svnweb.freebsd.org/changeset/base/336503
since I also ran the export script with different parameters.


# 7679e49d 19-Jul-2018 Michael Tuexen <tuexen@FreeBSD.org>

Whitespace changes due to change if ident.


# 18442f0a 24-Nov-2017 Michael Tuexen <tuexen@FreeBSD.org>

Fix SPDX line as suggested by pfg


# b7d2b5d5 24-Nov-2017 Michael Tuexen <tuexen@FreeBSD.org>

Add SPDX line.


# bbc9dfbc 20-Jul-2017 Michael Tuexen <tuexen@FreeBSD.org>

Fix the explicit EOR mode. If the final messages is not complete, send
an ABORT.
Joint work with rrs@
MFC after: 1 week


# b7b84c0e 26-Dec-2016 Michael Tuexen <tuexen@FreeBSD.org>

Whitespace changes.

The toolchain for processing the sources has been updated. No functional
change.

MFC after: 3 days


# 49656eef 07-Dec-2016 Michael Tuexen <tuexen@FreeBSD.org>

Cleanup the names of SSN, SID, TSN, FSN, PPID and MID.

This made a couple of bugs visible in handling SSN wrap-arounds
when using DATA chunks. Now bulk transfer seems to work fine...
This fixes the issue reported in
https://github.com/sctplab/usrsctp/issues/111

MFC after: 1 week


# 5b495f17 06-Dec-2016 Michael Tuexen <tuexen@FreeBSD.org>

Whitespace changes.

The tools using to generate the sources has been updated and produces
different whitespaces. Commit this seperately to avoid intermixing
these with real code changes.

MFC after: 3 days


# bfe7e932 05-Aug-2016 Michael Tuexen <tuexen@FreeBSD.org>

Mark an unused parameter as such.

MFC after: 3 days


# d1ea5fa9 05-Aug-2016 Michael Tuexen <tuexen@FreeBSD.org>

Fix various bugs in relation to the I-DATA chunk support

This is joint work with rrs.

MFC after: 3 days


# ed654363 23-Mar-2016 Michael Tuexen <tuexen@FreeBSD.org>

Add const to several constants. Thanks to Nicholas Nethercote for
providing the patch via
https://bugzilla.mozilla.org/show_bug.cgi?id=1255655

MFC after: 1 week


# 807aad63 23-May-2012 Michael Tuexen <tuexen@FreeBSD.org>

Use consistent text at the begining of the files.

MFC after: 3 days


# 60990c0c 27-Dec-2011 Michael Tuexen <tuexen@FreeBSD.org>

Address issues found by clang. While there, fix also some style
issues.

MFC after: 3 months.


# 7215cc1b 17-Dec-2011 Michael Tuexen <tuexen@FreeBSD.org>

Fix unused parameter warnings.
While there, fix some whitespace issues.

MFC after: 3 months.


# be2a6988 13-Feb-2011 Michael Tuexen <tuexen@FreeBSD.org>

Fix several bugs related to stream scheduling.

Obtained from: Robin Seggelmann
MFC after: 3 months.


# 5d40cf5d 04-Feb-2011 Randall Stewart <rrs@FreeBSD.org>

1) Typo correction in comments and one spacing change.
2) Mass update to all copyrights.
MFC after: 3 Months


# 252f7f93 03-Feb-2011 Michael Tuexen <tuexen@FreeBSD.org>

Fix several bugs in the stream schedulers.
From Robin Seggelmann.

MFC after: 3 months.


# f7a77f6f 23-Jan-2011 Michael Tuexen <tuexen@FreeBSD.org>

Add stream scheduling support.
This work is based on a patch received from Robin Seggelmann.

MFC after: 3 months.