aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_ss_functions.c
Commit message (Collapse)AuthorAgeFilesLines
* sctp: cleanup cdefs.h includeMichael Tuexen2023-08-181-1/+1
|
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | 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
* sctp: use constants from RFC 8260 to improve complianceMichael Tuexen2023-04-231-5/+5
| | | | | | Keep the old constants for backwards compatibility. MFC after: 1 week
* sctp: fix typosMichael Tuexen2022-03-291-3/+3
| | | | | | Thanks to David Sanders for fixing the typos in the userland stack. MFC after: 3 days
* sctp: get rid of stcb send lockMichael Tuexen2022-03-281-15/+55
| | | | | | | | 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
* sctp: improve KASSERT messagesMichael Tuexen2021-10-081-12/+12
| | | | MFC after: 1 week
* sctp: don't keep being locked on a stream which is removedMichael Tuexen2021-10-011-0/+9
| | | | | Reported by: syzbot+f5f551e8a3a0302a4914@syzkaller.appspotmail.com MFC after: 1 week
* sctp: provide a specific stream scheduler function for FCFSMichael Tuexen2021-09-291-1/+25
| | | | | | | | A KASSERT in the genric routine does not apply and triggers incorrectly. Reported by: syzbot+8435af157238c6a11430@syzkaller.appspotmail.com MFC after: 1 week
* sctp: cleanup and adding KASSERT()s, no functional changeMichael Tuexen2021-09-281-14/+41
| | | | MFC after: 1 week
* sctp: Cleanup stream schedulers.Michael Tuexen2021-09-231-118/+90
| | | | | | No functional change intended. MFC after: 1 week
* sctp: Simplify stream scheduler usageMichael Tuexen2021-09-211-120/+51
| | | | | | | | 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
* sctp: fix FCFS stream schedulerMichael Tuexen2021-09-191-14/+13
| | | | | Reported by: syzbot+c6793f0f0ce698bce230@syzkaller.appspotmail.com MFC after: 1 week
* Fix a few typos in commentsGordon Bergling2021-03-131-1/+1
| | | | | | - trough -> through MFC after: 1 week
* net: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-4/+0
| | | | Notes: svn path=/head/; revision=365071
* Cleanups, no functional change.Michael Tuexen2020-06-141-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=362173
* Fix the non-default stream schedulers such that do not interleaveMichael Tuexen2020-02-171-0/+9
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=358028
* Initialize scheduler specific data for the FCFS scheduler.Michael Tuexen2019-03-251-0/+2
| | | | | | | | | | This is joint work with rrs@. The issue was reported by using syzkaller. MFC after: 1 week Notes: svn path=/head/; revision=345505
* Some cleanup and consistency improvements.Michael Tuexen2019-03-081-6/+20
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=344924
* After removing an entry from the stream scheduler list, set the pointersMichael Tuexen2019-03-071-3/+11
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=344872
* Revert https://svnweb.freebsd.org/changeset/base/336503Michael Tuexen2018-07-191-2/+2
| | | | | | | since I also ran the export script with different parameters. Notes: svn path=/head/; revision=336508
* Whitespace changes due to change if ident.Michael Tuexen2018-07-191-2/+2
| | | | Notes: svn path=/head/; revision=336503
* Fix SPDX line as suggested by pfgMichael Tuexen2017-11-241-1/+1
| | | | Notes: svn path=/head/; revision=326180
* Add SPDX line.Michael Tuexen2017-11-241-0/+2
| | | | Notes: svn path=/head/; revision=326154
* Fix the explicit EOR mode. If the final messages is not complete, sendMichael Tuexen2017-07-201-2/+16
| | | | | | | | | an ABORT. Joint work with rrs@ MFC after: 1 week Notes: svn path=/head/; revision=321289
* Whitespace changes.Michael Tuexen2016-12-261-8/+14
| | | | | | | | | | The toolchain for processing the sources has been updated. No functional change. MFC after: 3 days Notes: svn path=/head/; revision=310590
* Cleanup the names of SSN, SID, TSN, FSN, PPID and MID.Michael Tuexen2016-12-071-2/+2
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=309682
* Whitespace changes.Michael Tuexen2016-12-061-12/+6
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=309607
* Mark an unused parameter as such.Michael Tuexen2016-08-061-2/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=303793
* Fix various bugs in relation to the I-DATA chunk supportMichael Tuexen2016-08-061-89/+160
| | | | | | | | | This is joint work with rrs. MFC after: 3 days Notes: svn path=/head/; revision=303792
* Add const to several constants. Thanks to Nicholas Nethercote forMichael Tuexen2016-03-231-1/+1
| | | | | | | | | | providing the patch via https://bugzilla.mozilla.org/show_bug.cgi?id=1255655 MFC after: 1 week Notes: svn path=/head/; revision=297208
* Use consistent text at the begining of the files.Michael Tuexen2012-05-231-3/+3
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=235828
* Address issues found by clang. While there, fix also some styleMichael Tuexen2011-12-271-1/+1
| | | | | | | | | issues. MFC after: 3 months. Notes: svn path=/head/; revision=228907
* Fix unused parameter warnings.Michael Tuexen2011-12-171-34/+34
| | | | | | | | | While there, fix some whitespace issues. MFC after: 3 months. Notes: svn path=/head/; revision=228653
* Fix several bugs related to stream scheduling.Michael Tuexen2011-02-131-127/+103
| | | | | | | | Obtained from: Robin Seggelmann MFC after: 3 months. Notes: svn path=/head/; revision=218639
* 1) Typo correction in comments and one spacing change.Randall Stewart2011-02-051-14/+8
| | | | | | | | 2) Mass update to all copyrights. MFC after: 3 Months Notes: svn path=/head/; revision=218319
* Fix several bugs in the stream schedulers.Michael Tuexen2011-02-031-22/+48
| | | | | | | | | From Robin Seggelmann. MFC after: 3 months. Notes: svn path=/head/; revision=218241
* Add stream scheduling support.Michael Tuexen2011-01-231-0/+914
This work is based on a patch received from Robin Seggelmann. MFC after: 3 months. Notes: svn path=/head/; revision=217760