#
2f2ddd68 |
| 04-Jan-2019 |
Mark Johnston <markj@FreeBSD.org> |
Support MSG_DONTWAIT in send*(2).
As it does for recv*(2), MSG_DONTWAIT indicates that the call should not block, returning EAGAIN instead. Linux and OpenBSD both implement this, so the change make
Support MSG_DONTWAIT in send*(2).
As it does for recv*(2), MSG_DONTWAIT indicates that the call should not block, returning EAGAIN instead. Linux and OpenBSD both implement this, so the change makes porting easier, especially since we do not return EINVAL or so when unrecognized flags are specified.
Submitted by: Greg V <greg@unrelenting.technology> Reviewed by: tuexen MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18728
show more ...
|
Revision tags: release/12.0.0 |
|
#
c06e7b66 |
| 07-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340126 through r340212.
|
#
8553b984 |
| 06-Nov-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Don't use a function when neither INET nor INET6 are defined. This is a valid case for the userland stack, where this fixes two set-but-not-used warnings in this case.
Thanks to Christian Wright for
Don't use a function when neither INET nor INET6 are defined. This is a valid case for the userland stack, where this fixes two set-but-not-used warnings in this case.
Thanks to Christian Wright for reporting the issue.
show more ...
|
#
c6879c6c |
| 23-Oct-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339015 through r339669.
|
#
fc3f42d8 |
| 08-Oct-2018 |
Glen Barber <gjb@FreeBSD.org> |
MFH r339206-r339212, r339215-r339239
Sponsored by: The FreeBSD Foundation
|
#
3535cdc4 |
| 07-Oct-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Avoid truncating unrecognised parameters when reporting them. This resulted in sending malformed packets.
Approved by: re (kib@) MFC after: 1 week
|
#
01d4e214 |
| 05-Oct-2018 |
Glen Barber <gjb@FreeBSD.org> |
MFH r338661 through r339200.
Sponsored by: The FreeBSD Foundation
|
#
9d2e3f14 |
| 01-Oct-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
After allocating chunks set the fields in a consistent way. This removes two assignments for the flags field being done twice and adds one, which was missing. Thanks to Felix Weinrank for reporting t
After allocating chunks set the fields in a consistent way. This removes two assignments for the flags field being done twice and adds one, which was missing. Thanks to Felix Weinrank for reporting the issue he found by using fuzz testing of the userland stack.
Approved by: re (kib@) MFC after: 1 week
show more ...
|
#
66bcf0b3 |
| 30-Sep-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Plug mbuf leaks in the SCTP output path in error cases.
Approved by: re (kib@) MFC after: 1 week CID: 1395307
|
#
81846484 |
| 30-Sep-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Fix the handling of ancillary data for SCTP socket. Implement sctp_process_cmsgs_for_init() and sctp_findassociation_cmsgs() similar to sctp_find_cmsg() to improve consistency and avoid the signed/un
Fix the handling of ancillary data for SCTP socket. Implement sctp_process_cmsgs_for_init() and sctp_findassociation_cmsgs() similar to sctp_find_cmsg() to improve consistency and avoid the signed/unsigned issues in sctp_process_cmsgs_for_init() and sctp_findassociation_cmsgs().
Thanks to andrew@ for reporting the problem he found using syzcaller.
Approved by: re (kib@) MFC after: 1 week
show more ...
|
#
ae0a9a88 |
| 30-Sep-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Increment the corresponding UDP stats counter (udps_opackets) when sending UDP encapsulated SCTP packets. This is consistent with the behaviour that when such packets are received, the corresponding
Increment the corresponding UDP stats counter (udps_opackets) when sending UDP encapsulated SCTP packets. This is consistent with the behaviour that when such packets are received, the corresponding UDP stats counter (udps_ipackets) is incremented. Thanks to Peter Lei for making me aware of this inconsistency.
Approved by: re (kib@) MFC after: 1 week
show more ...
|
#
ab530bf0 |
| 29-Sep-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338988 through r339014.
|
#
3552f16d |
| 28-Sep-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Fix typo in comment.
Reported by: @danfe Approved by: re (kib@) MFC after: 1 week X-MFC: r338941
|
#
ce44d808 |
| 27-Sep-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338731 through r338987.
|
#
0277ec9c |
| 26-Sep-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Whitespace changes and fixing a typo. No functional change.
Approved by: re (kib@) MFC after: 1 week
|
#
7847e041 |
| 24-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338026 through r338297, and resolve conflicts.
|
#
1e88cc8b |
| 22-Aug-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Add support for send, receive and state-change DTrace providers for SCTP. They are based on what is specified in the Solaris DTrace manual for Solaris 11.4.
Reviewed by: 0mp, dteske, markj Relnotes
Add support for send, receive and state-change DTrace providers for SCTP. They are based on what is specified in the Solaris DTrace manual for Solaris 11.4.
Reviewed by: 0mp, dteske, markj Relnotes: yes Differential Revision: https://reviews.freebsd.org/D16839
show more ...
|
#
1a0b0216 |
| 21-Aug-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Refactor the SHUTDOWN_PENDING state handling.
This is not a functional change but a preperation for the upcoming DTrace support. It is necessary to change the state in one logical operation, even if
Refactor the SHUTDOWN_PENDING state handling.
This is not a functional change but a preperation for the upcoming DTrace support. It is necessary to change the state in one logical operation, even if it involves clearing the sub state SHUTDOWN_PENDING.
MFC after: 1 month
show more ...
|
#
3611ec60 |
| 18-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r337646 through r338014.
|
#
839d21d6 |
| 13-Aug-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Use the stacb instead of the asoc in state macros.
This is not a functional change. Just a preparation for upcoming dtrace state change provider support.
|
#
61a21880 |
| 13-Aug-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Use consistently the macors to modify the assoc state.
No functional change.
|
#
812649d8 |
| 12-Aug-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Add explicit cast to silence a warning for the userland stack.
Thanks to Felix Weinrank for providing the patch.
|
#
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.
|
Revision tags: release/11.2.0 |
|
#
33ef1230 |
| 14-Jun-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Provide the ip6_plen in network byte order when calling ip6_output().
This is not strictly required by ip6_output(), since it overrides it, but it is needed for upcoming dtrace support.
|