#
294219 |
|
17-Jan-2016 |
tuexen |
MFC r292558: Stop processing of a SACK when the association has been aborted.
|
#
294210 |
|
17-Jan-2016 |
tuexen |
MFC r291700: Ensure that outgoing streams get reset when they run dry.
|
#
294181 |
|
16-Jan-2016 |
tuexen |
MFC r290468: Use the correct length. The wrong one was too large.
|
#
294178 |
|
16-Jan-2016 |
tuexen |
MFC r290442: Fix typos in field names of struct sctp_extrcvinfo. Provide defines to allow applications to compile. Thanks to Jens Hoelscher for making me aware of the typos.
|
#
294158 |
|
16-Jan-2016 |
tuexen |
MFC r287717: Cleanup the handling of error causes for ERROR chunks. This fixes an inconsistency of the padding handling. The final padding is now considered to be a chunk padding.
|
#
294157 |
|
16-Jan-2016 |
tuexen |
MFC r287669: Ensure that ERROR chunks are always padded by implementing this in the routine, which queues an ERROR chunk, instead on relyinh on the callers to do so. Since one caller missed this, this actially fixes a bug.
|
#
294147 |
|
16-Jan-2016 |
tuexen |
MFC r286206: Don't take the port numbers for packets containing ABORT chunks from a freed mbuf. Just use them from the stcb.
|
#
294146 |
|
16-Jan-2016 |
tuexen |
MFC r285938: Fix a typo reported by Erik Cederstrand.
|
#
294145 |
|
16-Jan-2016 |
tuexen |
MFC r285925: Provide consistent error causes whenever an ABORT chunk is sent.
|
#
294144 |
|
16-Jan-2016 |
tuexen |
MFC r285887: Improve locking on Mac OS X. This does not change the functionality on FreeBSD.
|
#
294143 |
|
16-Jan-2016 |
tuexen |
MFC r285886: Fix and improve a debug message. The SID was reported as an SSN.
|
#
294140 |
|
16-Jan-2016 |
tuexen |
MFC r285792: Fix several problems with Stream Reset. 1) We were not handling (or sending) the IN_PROGRESS case if the other side (or our side) was not able to reset (awaiting more data). 2) We would improperly send a stream-reset when we should not. Not waiting until the TSN had been assigned when data was inqueue.
|
#
283822 |
|
31-May-2015 |
tuexen |
MFC r283650:
Fix and cleanup the debug information. This has no user-visible changes. Thanks to Irene Ruengeler for proving a patch.
|
#
283821 |
|
31-May-2015 |
tuexen |
MFC r283648:
Address some compiler warnings. No functional change.
|
#
283740 |
|
29-May-2015 |
tuexen |
MFC r282042:
Don't panic under INVARIANTS when receiving a SACK which cumacks a TSN never sent. While there, fix two typos.
|
#
283731 |
|
29-May-2015 |
tuexen |
MFC r280440:
Fix the bug in the handling of fragmented abandoned SCTP user messages reported in https://code.google.com/p/sctp-refimpl/issues/detail?id=11 Thanks to Lally Singh for reporting it.
|
#
283708 |
|
29-May-2015 |
tuexen |
MFC r276914:
Minimize the usage of SCTP_BUF_IS_EXTENDED. This should help Robert...
|
#
281955 |
|
24-Apr-2015 |
hiren |
MFC r275358 r275483 r276982 - Removing M_FLOWID by hps@
r275358: Start process of removing the use of the deprecated "M_FLOWID" flag from the FreeBSD network code. The flag is still kept around in the "sys/mbuf.h" header file, but does no longer have any users. Instead the "m_pkthdr.rsstype" field in the mbuf structure is now used to decide the meaning of the "m_pkthdr.flowid" field. To modify the "m_pkthdr.rsstype" field please use the existing "M_HASHTYPE_XXX" macros as defined in the "sys/mbuf.h" header file.
This patch introduces new behaviour in the transmit direction. Previously network drivers checked if "M_FLOWID" was set in "m_flags" before using the "m_pkthdr.flowid" field. This check has now now been replaced by checking if "M_HASHTYPE_GET(m)" is different from "M_HASHTYPE_NONE". In the future more hashtypes will be added, for example hashtypes for hardware dedicated flows.
"M_HASHTYPE_OPAQUE" indicates that the "m_pkthdr.flowid" value is valid and has no particular type. This change removes the need for an "if" statement in TCP transmit code checking for the presence of a valid flowid value. The "if" statement mentioned above is now a direct variable assignment which is then later checked by the respective network drivers like before.
r275483: Remove M_FLOWID from SCTP code.
r276982: Remove no longer used "M_FLOWID" flag from mbuf.h and update the netisr manpage.
Note: The FreeBSD version has been bumped.
Reviewed by: hps, tuexen Sponsored by: Limelight Networks
|
#
270357 |
|
22-Aug-2014 |
tuexen |
MFC r269448:
Add support for the SCTP_PR_SUPPORTED socket option as specified in http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-prpolicies Add also a sysctl controlling the default of the end-points.
|
#
270354 |
|
22-Aug-2014 |
tuexen |
MFC r269376:
Cleanup sctp_send_initiate() and sctp_send_initiate_ack() to be in sync as much as possible. This simplifies upcoming changes.
|
#
268432 |
|
08-Jul-2014 |
delphij |
Fix kernel memory disclosure in control message and SCTP notifications.
Security: FreeBSD-SA-14:17.kmem Security: CVE-2014-3952, CVE-2014-3953
|
#
267733 |
|
22-Jun-2014 |
tuexen |
MFC r264838:
Don't free an mbuf twice. This only happens in very rare error cases where the peer sends illegal sequencing information in DATA chunks for an existing association.
|
#
267732 |
|
22-Jun-2014 |
tuexen |
MFC r264704:
Add consistency checks to ensure that fragments of a user message have the same U-bit.
|
#
267730 |
|
22-Jun-2014 |
tuexen |
MFC r264682:
Use consistently debug output instead of an unconditional printf.
|
#
267729 |
|
22-Jun-2014 |
tuexen |
MFC r264679:
Send the correct error cause, when a DATA chunk with no user data is received. This bug was reported by Irene Ruengeler.
|
#
267723 |
|
22-Jun-2014 |
tuexen |
MFC r263237:
* Provide information in error causes in ASCII instead of proprietary binary format. * Add support for a diagnostic information error cause. The code is sysctlable and the default is 0, which means it is not sent.
This is joint work with rrs@.
|
#
258454 |
|
21-Nov-2013 |
tuexen |
MFC r256556: Remove a buggy comparision when setting manually the path MTU. After fixing, the comparision would have become redundant. Thanks to Andrew Galante for reporting the issue.
MFC r257272: Fix compilation if SCTP_DONT_DO_PRIVADDR_SCOPE is defined. The issue was reported by Andrew Galante.
MFC r257274: Fix the value of *optlen when calling getsockopt() for SCTP_REMOTE_UDP_ENCAPS_PORT. This issue was reported by Andrew Galante.
MFC r257359: Terminate a debug output with a \n.
MFC r257555: Changes from upstream to improve compilation when INET or INET6 or none of them is defined.
MFC r257574: Unlock the lock before destroying it. This issue was reported by Andrew Galante.
MFC r257800: Use htons()/ntohs() appropriately. These issues were reported by Andrew Galante.
MFC r257803: Make sure that we don't try to build an ASCONF-ACK chunk larger than what fits in the the mbuf cluster. This issue was reported by Andrew Galante.
MFC r257804: Get rid of the artification limitation enforced by SCTP_AUTH_RANDOM_SIZE_MAX. This was suggested by Andrew Galante.
MFC r258221: Cleanups which result in fixes which have been made upstream and where partially suggested by Andrew Galante. There is no functional change in FreeBSD.
MFC r258224: When determining if an address belongs to an stcb, take the address family into account for wildcard bound endpoints.
MFC r258228: Remove a stray write operation.
MFC r258235: Use SCTP_PR_SCTP_TTL when the user provides a positive timetolive in sctp_sendmsg().
Approved by: re@
|
#
283822 |
|
31-May-2015 |
tuexen |
MFC r283650:
Fix and cleanup the debug information. This has no user-visible changes. Thanks to Irene Ruengeler for proving a patch.
|
#
283821 |
|
31-May-2015 |
tuexen |
MFC r283648:
Address some compiler warnings. No functional change.
|
#
283740 |
|
29-May-2015 |
tuexen |
MFC r282042:
Don't panic under INVARIANTS when receiving a SACK which cumacks a TSN never sent. While there, fix two typos.
|
#
283731 |
|
29-May-2015 |
tuexen |
MFC r280440:
Fix the bug in the handling of fragmented abandoned SCTP user messages reported in https://code.google.com/p/sctp-refimpl/issues/detail?id=11 Thanks to Lally Singh for reporting it.
|
#
283708 |
|
29-May-2015 |
tuexen |
MFC r276914:
Minimize the usage of SCTP_BUF_IS_EXTENDED. This should help Robert...
|
#
281955 |
|
24-Apr-2015 |
hiren |
MFC r275358 r275483 r276982 - Removing M_FLOWID by hps@
r275358: Start process of removing the use of the deprecated "M_FLOWID" flag from the FreeBSD network code. The flag is still kept around in the "sys/mbuf.h" header file, but does no longer have any users. Instead the "m_pkthdr.rsstype" field in the mbuf structure is now used to decide the meaning of the "m_pkthdr.flowid" field. To modify the "m_pkthdr.rsstype" field please use the existing "M_HASHTYPE_XXX" macros as defined in the "sys/mbuf.h" header file.
This patch introduces new behaviour in the transmit direction. Previously network drivers checked if "M_FLOWID" was set in "m_flags" before using the "m_pkthdr.flowid" field. This check has now now been replaced by checking if "M_HASHTYPE_GET(m)" is different from "M_HASHTYPE_NONE". In the future more hashtypes will be added, for example hashtypes for hardware dedicated flows.
"M_HASHTYPE_OPAQUE" indicates that the "m_pkthdr.flowid" value is valid and has no particular type. This change removes the need for an "if" statement in TCP transmit code checking for the presence of a valid flowid value. The "if" statement mentioned above is now a direct variable assignment which is then later checked by the respective network drivers like before.
r275483: Remove M_FLOWID from SCTP code.
r276982: Remove no longer used "M_FLOWID" flag from mbuf.h and update the netisr manpage.
Note: The FreeBSD version has been bumped.
Reviewed by: hps, tuexen Sponsored by: Limelight Networks
|
#
270357 |
|
22-Aug-2014 |
tuexen |
MFC r269448:
Add support for the SCTP_PR_SUPPORTED socket option as specified in http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-prpolicies Add also a sysctl controlling the default of the end-points.
|
#
270354 |
|
22-Aug-2014 |
tuexen |
MFC r269376:
Cleanup sctp_send_initiate() and sctp_send_initiate_ack() to be in sync as much as possible. This simplifies upcoming changes.
|
#
268432 |
|
08-Jul-2014 |
delphij |
Fix kernel memory disclosure in control message and SCTP notifications.
Security: FreeBSD-SA-14:17.kmem Security: CVE-2014-3952, CVE-2014-3953
|
#
267733 |
|
22-Jun-2014 |
tuexen |
MFC r264838:
Don't free an mbuf twice. This only happens in very rare error cases where the peer sends illegal sequencing information in DATA chunks for an existing association.
|
#
267732 |
|
22-Jun-2014 |
tuexen |
MFC r264704:
Add consistency checks to ensure that fragments of a user message have the same U-bit.
|
#
267730 |
|
22-Jun-2014 |
tuexen |
MFC r264682:
Use consistently debug output instead of an unconditional printf.
|
#
267729 |
|
22-Jun-2014 |
tuexen |
MFC r264679:
Send the correct error cause, when a DATA chunk with no user data is received. This bug was reported by Irene Ruengeler.
|
#
267723 |
|
22-Jun-2014 |
tuexen |
MFC r263237:
* Provide information in error causes in ASCII instead of proprietary binary format. * Add support for a diagnostic information error cause. The code is sysctlable and the default is 0, which means it is not sent.
This is joint work with rrs@.
|
#
258454 |
|
21-Nov-2013 |
tuexen |
MFC r256556: Remove a buggy comparision when setting manually the path MTU. After fixing, the comparision would have become redundant. Thanks to Andrew Galante for reporting the issue.
MFC r257272: Fix compilation if SCTP_DONT_DO_PRIVADDR_SCOPE is defined. The issue was reported by Andrew Galante.
MFC r257274: Fix the value of *optlen when calling getsockopt() for SCTP_REMOTE_UDP_ENCAPS_PORT. This issue was reported by Andrew Galante.
MFC r257359: Terminate a debug output with a \n.
MFC r257555: Changes from upstream to improve compilation when INET or INET6 or none of them is defined.
MFC r257574: Unlock the lock before destroying it. This issue was reported by Andrew Galante.
MFC r257800: Use htons()/ntohs() appropriately. These issues were reported by Andrew Galante.
MFC r257803: Make sure that we don't try to build an ASCONF-ACK chunk larger than what fits in the the mbuf cluster. This issue was reported by Andrew Galante.
MFC r257804: Get rid of the artification limitation enforced by SCTP_AUTH_RANDOM_SIZE_MAX. This was suggested by Andrew Galante.
MFC r258221: Cleanups which result in fixes which have been made upstream and where partially suggested by Andrew Galante. There is no functional change in FreeBSD.
MFC r258224: When determining if an address belongs to an stcb, take the address family into account for wildcard bound endpoints.
MFC r258228: Remove a stray write operation.
MFC r258235: Use SCTP_PR_SCTP_TTL when the user provides a positive timetolive in sctp_sendmsg().
Approved by: re@
|