Author: tuexen
Date: Sun Apr 8 16:29:24 2018
New Revision: 332284
URL: https://svnweb.freebsd.org/changeset/base/332284
Log:
Fix an assignment to force the level to be in the required interval.
CID: 1008428
Modified:
stable/10/sys/netinet/libalias/alias_sctp.c
Directory Propert
Author: tuexen
Date: Sun Apr 8 16:26:16 2018
New Revision: 332283
URL: https://svnweb.freebsd.org/changeset/base/332283
Log:
MFC r327205:
Fix an assignment. While there, do some whitespace cleanups.
CID: 1008936
Modified:
stable/10/sys/netinet/libalias/alias_sctp.c
Directory Prope
Author: tuexen
Date: Sun Apr 8 16:24:37 2018
New Revision: 332282
URL: https://svnweb.freebsd.org/changeset/base/332282
Log:
MFC r327203:
Allow the first (and second) argument of sn_calloc() be a sum.
This fixes a bug reported in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224103
Author: tuexen
Date: Sun Aug 13 07:40:05 2017
New Revision: 322454
URL: https://svnweb.freebsd.org/changeset/base/322454
Log:
MFC r317244:
Represent "a syncache overflow hasn't happend yet" by using
-(SYNCOOKIE_LIFETIME + 1) instead of INT64_MIN, since it is
good enough and works when t
Author: tuexen
Date: Wed Aug 9 13:26:12 2017
New Revision: 322315
URL: https://svnweb.freebsd.org/changeset/base/322315
Log:
MFC r317208:
Syncoockies can be used in combination with the syncache. If the cache
overflows, syncookies are used.
This patch restricts the usage of syncookies
Author: tuexen
Date: Thu Feb 25 19:21:46 2016
New Revision: 296056
URL: https://svnweb.freebsd.org/changeset/base/296056
Log:
MFC r295273:
In FreeBSD 10 and higher the driver announces SCTP checksum offloading support
also for 82598, which doesn't support it.
The legacy code has a check fo
Author: tuexen
Date: Thu Feb 25 18:46:06 2016
New Revision: 296052
URL: https://svnweb.freebsd.org/changeset/base/296052
Log:
MFC r295549:
Loopback addresses are 127.0.0.0/8, not 127.0.0.1/32.
MFC r295668:
Improve the teardown of the SCTP stack.
MFC r295670:
Whitespace changes.
Author: tuexen
Date: Wed Feb 3 14:04:07 2016
New Revision: 295208
URL: https://svnweb.freebsd.org/changeset/base/295208
Log:
MFC r294995:
Always look in the TCP pool.
This fixes issues with a restarting peer when the listening
1-to-1 style socket is closed.
MFC r295021:
Remove debu
Author: tuexen
Date: Wed Jan 27 14:01:21 2016
New Revision: 294911
URL: https://svnweb.freebsd.org/changeset/base/294911
Log:
MFC r294694:
sctp_sendx() needs to provide the assoc_id back.
Modified:
stable/10/lib/libc/net/sctp_sys_calls.c
Directory Properties:
stable/10/ (props changed)
Author: tuexen
Date: Wed Jan 27 13:59:27 2016
New Revision: 294910
URL: https://svnweb.freebsd.org/changeset/base/294910
Log:
MFC r294688:
sctp_sendv() needs to fill in the association id on return.
Modified:
stable/10/lib/libc/net/sctp_sys_calls.c
Directory Properties:
stable/10/ (prop
c Mon Jan 18 18:50:26 2016
(r294285, copy of r289873, head/usr.bin/systat/sctp.c)
@@ -0,0 +1,362 @@
+/*-
+ * Copyright (c) 2015
+ * The Regents of the University of California. All rights reserved.
+ * Michael Tuexen. All rights reserved.
+ *
+ * Redistribution and use in source and
Author: tuexen
Date: Sun Jan 17 18:39:01 2016
New Revision: 294232
URL: https://svnweb.freebsd.org/changeset/base/294232
Log:
MFC r287281:
Report CLOSED as state for bound sockets for consistency with
netstat and the way TCP is handled.
Modified:
stable/10/usr.bin/sockstat/sockstat.c
Dire
Author: tuexen
Date: Sun Jan 17 18:37:36 2016
New Revision: 294231
URL: https://svnweb.freebsd.org/changeset/base/294231
Log:
MFC r287182:
Add SCTP support.
Modified:
stable/10/usr.bin/sockstat/sockstat.1
stable/10/usr.bin/sockstat/sockstat.c
Directory Properties:
stable/10/ (props ch
Author: tuexen
Date: Sun Jan 17 18:35:46 2016
New Revision: 294230
URL: https://svnweb.freebsd.org/changeset/base/294230
Log:
MFC r287179:
Remove a variable which is set but never used.
Modified:
stable/10/usr.bin/sockstat/sockstat.c
Directory Properties:
stable/10/ (props changed)
Mod
Author: tuexen
Date: Sun Jan 17 14:35:37 2016
New Revision: 294226
URL: https://svnweb.freebsd.org/changeset/base/294226
Log:
MFC r285651:
Move assignments around to avoid a false-positive uninitialized variable
warning which broke the sparc64 build.
This is work from des@ and MFCing wa
Author: tuexen
Date: Sun Jan 17 14:33:40 2016
New Revision: 294225
URL: https://svnweb.freebsd.org/changeset/base/294225
Log:
MFC r285630:
Add a -s option which adds a column listing the connection state if
applicable (currently only for TCP).
This is work from des@ and MFCing was discu
Author: tuexen
Date: Sun Jan 17 14:16:26 2016
New Revision: 294224
URL: https://svnweb.freebsd.org/changeset/base/294224
Log:
MFC r290641:
Add support for SCTP checksum offloading for the 82580 controller
similar to the 82576 controller.
Tested with Intel i340 cards.
Modified:
stable/10
Author: tuexen
Date: Sun Jan 17 14:14:12 2016
New Revision: 294223
URL: https://svnweb.freebsd.org/changeset/base/294223
Log:
MFC r294057:
Fix a bug in INIT handling on accepted 1-to-1 style sockets when the
listener is closed.
This fix allows the following packetdrill test to pass:
// S
Author: tuexen
Date: Sun Jan 17 14:10:37 2016
New Revision: 294222
URL: https://svnweb.freebsd.org/changeset/base/294222
Log:
MFC r293913:
Fail the SCTP_GET_ASSOC_NUMBER and SCTP_GET_ASSOC_ID_LIST
socket options for 1-to-1 style sockets as specified in RFC 6458.
Modified:
stable/10/sys/ne
Author: tuexen
Date: Sun Jan 17 14:00:24 2016
New Revision: 294221
URL: https://svnweb.freebsd.org/changeset/base/294221
Log:
MFC r293828:
Store the timer type for logging, because the timer can be freed
during processing the timerout.
Modified:
stable/10/sys/netinet/sctputil.c
Directory
Author: tuexen
Date: Sun Jan 17 12:41:46 2016
New Revision: 294220
URL: https://svnweb.freebsd.org/changeset/base/294220
Log:
MFC r292734:
Don't implicitly terminate a user message when moving it to the
send_queue and the socket is closed. This results in strange
race conditions for the ap
Author: tuexen
Date: Sun Jan 17 12:39:35 2016
New Revision: 294219
URL: https://svnweb.freebsd.org/changeset/base/294219
Log:
MFC r292558:
Stop processing of a SACK when the association has been aborted.
Modified:
stable/10/sys/netinet/sctp_indata.c
Directory Properties:
stable/10/ (pro
Author: tuexen
Date: Sun Jan 17 12:18:01 2016
New Revision: 294216
URL: https://svnweb.freebsd.org/changeset/base/294216
Log:
MFC r292060:
Retire sctp_validate_no_locks().
This routine checks that there are no locks held for an inp,
without having any lock on the inp. This breaks if the
Author: tuexen
Date: Sun Jan 17 12:15:41 2016
New Revision: 294215
URL: https://svnweb.freebsd.org/changeset/base/294215
Log:
MFC r291904:
Fix the allocation of outgoing streams:
* When processing a cookie, use the number of
streams announced in the INIT-ACK.
* When sending an INIT-ACK
Author: tuexen
Date: Sun Jan 17 12:13:21 2016
New Revision: 294213
URL: https://svnweb.freebsd.org/changeset/base/294213
Log:
MFC r291752:
Fix a bug where a stream reset request wasn't retranmitted when the
peer indicated "In progress".
Modified:
stable/10/sys/netinet/sctp_input.c
Directo
Author: tuexen
Date: Sun Jan 17 12:07:47 2016
New Revision: 294210
URL: https://svnweb.freebsd.org/changeset/base/294210
Log:
MFC r291700:
Ensure that outgoing streams get reset when they run dry.
Modified:
stable/10/sys/netinet/sctp_indata.c
stable/10/sys/netinet/sctp_input.c
stable/10
Author: tuexen
Date: Sun Jan 17 12:05:44 2016
New Revision: 294209
URL: https://svnweb.freebsd.org/changeset/base/294209
Log:
MFC r291659:
Minor cleanup. No functional change.
Modified:
stable/10/sys/netinet/sctp_output.c
Directory Properties:
stable/10/ (props changed)
Modified: stabl
Author: tuexen
Date: Sun Jan 17 12:03:59 2016
New Revision: 294208
URL: https://svnweb.freebsd.org/changeset/base/294208
Log:
MFC r291651:
Adjust the MTU when accepting an SCTP association using
UDP encapsulation.
Modified:
stable/10/sys/netinet/sctp_input.c
Directory Properties:
stable
Author: tuexen
Date: Sun Jan 17 12:02:04 2016
New Revision: 294207
URL: https://svnweb.freebsd.org/changeset/base/294207
Log:
MFC r291410:
Take also the send queue and sent queue into account when triggering
the sending of outgoing stream reset requests.
Modified:
stable/10/sys/netinet/sc
Author: tuexen
Date: Sun Jan 17 11:59:42 2016
New Revision: 294206
URL: https://svnweb.freebsd.org/changeset/base/294206
Log:
MFC r291376:
When the sending of an SCTP outgoing stream reset request fails,
don't report it to the user since all stream have been marked
as pending.
Modified:
Author: tuexen
Date: Sat Jan 16 18:59:10 2016
New Revision: 294189
URL: https://svnweb.freebsd.org/changeset/base/294189
Log:
MFC r291364:
When receiving an SCTP/UDP packet and the interface performed
the UDP checksum computation and signals that it was OK,
clear this bit when passing the
Author: tuexen
Date: Sat Jan 16 18:20:47 2016
New Revision: 294187
URL: https://svnweb.freebsd.org/changeset/base/294187
Log:
MFC r291141:
Fix the handling of IPSec policies in the SCTP stack. At least
make sure they are not leaked...
Modified:
stable/10/sys/netinet/sctp_pcb.c
stable/10
Author: tuexen
Date: Sat Jan 16 18:18:47 2016
New Revision: 294186
URL: https://svnweb.freebsd.org/changeset/base/294186
Log:
MFC r291140:
Revert part of r291137 which seems correct, bit does not fix the
resource problem I'm currently hunting down.
Modified:
stable/10/sys/netinet/sctp_pcb
Author: tuexen
Date: Sat Jan 16 18:15:41 2016
New Revision: 294185
URL: https://svnweb.freebsd.org/changeset/base/294185
Log:
MFC r291138:
Clear the so_pcb pointer in case of ipsec_init_policy() fails.
Modified:
stable/10/sys/netinet/sctp_usrreq.c
Directory Properties:
stable/10/ (props
Author: tuexen
Date: Sat Jan 16 18:13:33 2016
New Revision: 294184
URL: https://svnweb.freebsd.org/changeset/base/294184
Log:
MFC r291137:
Don't send SHUTDOWN chunk when the association is in a front state
and the applications calls shutdown(..., SHUT_WR) or
shutdown(..., SHUT_RDWR).
Modi
Author: tuexen
Date: Sat Jan 16 18:11:17 2016
New Revision: 294182
URL: https://svnweb.freebsd.org/changeset/base/294182
Log:
MFC r291078:
Fix a bug where an SCTP association was moved back to SHUTDOWN_SENT
state when the user issued a shutdown() call.
Modified:
stable/10/sys/netinet/sctp
Author: tuexen
Date: Sat Jan 16 18:08:05 2016
New Revision: 294181
URL: https://svnweb.freebsd.org/changeset/base/294181
Log:
MFC r290468:
Use the correct length. The wrong one was too large.
Modified:
stable/10/sys/netinet/sctp_indata.c
Directory Properties:
stable/10/ (props changed)
Author: tuexen
Date: Sat Jan 16 18:05:24 2016
New Revision: 294180
URL: https://svnweb.freebsd.org/changeset/base/294180
Log:
MFC r290444:
The field sinfo_timetolive should have been sinfo_pr_value.
Thanks to Jens Hoelscher for making me aware of the bug.
Modified:
stable/10/sys/netinet/s
Author: tuexen
Date: Sat Jan 16 18:03:12 2016
New Revision: 294178
URL: https://svnweb.freebsd.org/changeset/base/294178
Log:
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 t
Author: tuexen
Date: Sat Jan 16 18:00:47 2016
New Revision: 294176
URL: https://svnweb.freebsd.org/changeset/base/294176
Log:
MFC r290023:
When processing a cookie, any mismatch in port numbers or the vtag results
in failing the check.
This fixes
https://github.com/nplab/ETSI-SCTP-Conform
Author: tuexen
Date: Sat Jan 16 17:56:06 2016
New Revision: 294174
URL: https://svnweb.freebsd.org/changeset/base/294174
Log:
MFC r289570:
Use __func__ instead of __FUNCTION__.
This allows to compile the userland stack without errors using gcc5.
Thanks to saghul for makeing me aware and
Author: tuexen
Date: Sat Jan 16 17:53:04 2016
New Revision: 294173
URL: https://svnweb.freebsd.org/changeset/base/294173
Log:
MFC r289240:
Fix the timeout for INIT retransmissions in the case where RTO_MIN is
smaller than RTO_INITIAL.
Modified:
stable/10/sys/netinet/sctp_timer.c
Directory
Author: tuexen
Date: Sat Jan 16 17:50:43 2016
New Revision: 294172
URL: https://svnweb.freebsd.org/changeset/base/294172
Log:
MFC r287725:
Fix compilation issue introduced in r287717.
Thanks to bz@ for making me aware of it.
Modified:
stable/10/sys/netinet/sctp_input.c
Directory Propertie
Author: tuexen
Date: Sat Jan 16 16:52:50 2016
New Revision: 294159
URL: https://svnweb.freebsd.org/changeset/base/294159
Log:
MFC r287719:
Address a compile warning.
Modified:
stable/10/sys/netinet/sctp_input.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/ne
Author: tuexen
Date: Sat Jan 16 16:46:00 2016
New Revision: 294158
URL: https://svnweb.freebsd.org/changeset/base/294158
Log:
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
Author: tuexen
Date: Sat Jan 16 16:42:40 2016
New Revision: 294157
URL: https://svnweb.freebsd.org/changeset/base/294157
Log:
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
Author: tuexen
Date: Sat Jan 16 14:56:30 2016
New Revision: 294156
URL: https://svnweb.freebsd.org/changeset/base/294156
Log:
MFC r287619:
Zero out a local variable also when PURIFY is not defined.
This silence a warning brought up by valgrind whenever if_nametoindex
is used. This was alre
Author: tuexen
Date: Sat Jan 16 14:54:43 2016
New Revision: 294155
URL: https://svnweb.freebsd.org/changeset/base/294155
Log:
MFC r287535:
RFC 4960 requires that packets containing an INIT chunk bundled with
another chunk are silently discarded. Do so, instead of sending an
ABORT.
Modifie
Author: tuexen
Date: Sat Jan 16 14:52:29 2016
New Revision: 294154
URL: https://svnweb.freebsd.org/changeset/base/294154
Log:
MFC r287457:
Don't leak memory in an error case.
Modified:
stable/10/sys/netinet/sctp_output.c
Directory Properties:
stable/10/ (props changed)
Modified: stable
Author: tuexen
Date: Sat Jan 16 14:50:43 2016
New Revision: 294153
URL: https://svnweb.freebsd.org/changeset/base/294153
Log:
MFC r287456:
Add a NULL pointer check to silence the clang code analyzer.
Modified:
stable/10/sys/netinet/sctputil.c
Directory Properties:
stable/10/ (props chan
Author: tuexen
Date: Sat Jan 16 14:48:54 2016
New Revision: 294152
URL: https://svnweb.freebsd.org/changeset/base/294152
Log:
MFC r287444:
Fix a bug where two SHUTDOWN_ACK chunks were sent if a SHUTDOWN chunk was
received acking all outstanding data.
Modified:
stable/10/sys/netinet/sctp_i
Author: tuexen
Date: Sat Jan 16 14:46:27 2016
New Revision: 294151
URL: https://svnweb.freebsd.org/changeset/base/294151
Log:
MFC r287294:
Use 5 times RTO.Max as the default for the shutdown guard timer
as required by RFC 4960. The sysctl variable can be used to
overwrite this.
Modified:
Author: tuexen
Date: Sat Jan 16 14:43:27 2016
New Revision: 294150
URL: https://svnweb.freebsd.org/changeset/base/294150
Log:
MFC r287284:
Use the userland exported states and handle them completely.
Modified:
stable/10/usr.bin/netstat/sctp.c
Directory Properties:
stable/10/ (props chan
Author: tuexen
Date: Sat Jan 16 14:41:44 2016
New Revision: 294149
URL: https://svnweb.freebsd.org/changeset/base/294149
Log:
MFC r287282:
Fix the exporting of SCTP association states to userland. Without this,
associations in SHUTDOWN-PENDING were never reported correctly.
Modified:
stab
Author: tuexen
Date: Sat Jan 16 12:50:00 2016
New Revision: 294148
URL: https://svnweb.freebsd.org/changeset/base/294148
Log:
MFC r286781:
Allow the path MTU to grow up to the outgoing interface MTU.
Modified:
stable/10/sys/netinet/sctp_timer.c
Directory Properties:
stable/10/ (props ch
Author: tuexen
Date: Sat Jan 16 12:47:28 2016
New Revision: 294147
URL: https://svnweb.freebsd.org/changeset/base/294147
Log:
MFC r286206:
Don't take the port numbers for packets containing ABORT chunks from
a freed mbuf. Just use them from the stcb.
Modified:
stable/10/sys/netinet/sctp_i
Author: tuexen
Date: Sat Jan 16 12:43:02 2016
New Revision: 294146
URL: https://svnweb.freebsd.org/changeset/base/294146
Log:
MFC r285938:
Fix a typo reported by Erik Cederstrand.
Modified:
stable/10/sys/netinet/sctp_indata.c
Directory Properties:
stable/10/ (props changed)
Modified: s
Author: tuexen
Date: Sat Jan 16 12:40:43 2016
New Revision: 294145
URL: https://svnweb.freebsd.org/changeset/base/294145
Log:
MFC r285925:
Provide consistent error causes whenever an ABORT chunk is sent.
Modified:
stable/10/sys/netinet/sctp_asconf.c
stable/10/sys/netinet/sctp_indata.c
s
Author: tuexen
Date: Sat Jan 16 12:38:14 2016
New Revision: 294144
URL: https://svnweb.freebsd.org/changeset/base/294144
Log:
MFC r285887:
Improve locking on Mac OS X. This does not change the functionality
on FreeBSD.
Modified:
stable/10/sys/netinet/sctp_indata.c
Directory Properties:
Author: tuexen
Date: Sat Jan 16 12:36:09 2016
New Revision: 294143
URL: https://svnweb.freebsd.org/changeset/base/294143
Log:
MFC r285886:
Fix and improve a debug message. The SID was reported as an SSN.
Modified:
stable/10/sys/netinet/sctp_indata.c
Directory Properties:
stable/10/ (pro
Author: tuexen
Date: Sat Jan 16 12:33:45 2016
New Revision: 294142
URL: https://svnweb.freebsd.org/changeset/base/294142
Log:
MFC r285877:
Move including netinet/icmp6.h around to avoid a problem when including
netinet/icmp6.h and net/netmap.h. Both use ni_flags...
This allows to build mul
Author: tuexen
Date: Sat Jan 16 12:20:47 2016
New Revision: 294141
URL: https://svnweb.freebsd.org/changeset/base/294141
Log:
MFC r285837, r285838
Fix an issue with MAC OS locking and also optimize the case
where we are sending back a stream-reset and a sack timer is running, in
that case
Author: tuexen
Date: Sat Jan 16 12:15:07 2016
New Revision: 294140
URL: https://svnweb.freebsd.org/changeset/base/294140
Log:
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
Author: tuexen
Date: Sat Jan 16 11:19:08 2016
New Revision: 294139
URL: https://svnweb.freebsd.org/changeset/base/294139
Log:
MFC r285237:
Export the ssthresh value per SCTP path via the sysctl interface.
Modified:
stable/10/sys/netinet/sctp_sysctl.c
stable/10/sys/netinet/sctp_uio.h
Di
Author: tuexen
Date: Mon Jun 22 06:06:38 2015
New Revision: 284696
URL: https://svnweb.freebsd.org/changeset/base/284696
Log:
When using KTRACE, set a variable to the appropriate value and don't
leave it initialized at NULL.
Since the affected functions where moved from sys/kern/uipc_syscall
Author: tuexen
Date: Mon Jun 22 05:36:08 2015
New Revision: 284694
URL: https://svnweb.freebsd.org/changeset/base/284694
Log:
MFC r284604:
Don't leak sockets.
Reported by: Coverity
CID: 1306785
Modified:
stable/10/usr.bin/sockstat/sockstat.c
Directory Properties:
stable/1
Author: tuexen
Date: Mon Jun 22 05:34:13 2015
New Revision: 284693
URL: https://svnweb.freebsd.org/changeset/base/284693
Log:
MFC r284596:
When setting the primary address, return an error whenever it fails.
Modified:
stable/10/sys/netinet/sctp_usrreq.c
Directory Properties:
stable/10/
Author: tuexen
Date: Mon Jun 22 05:31:29 2015
New Revision: 284692
URL: https://svnweb.freebsd.org/changeset/base/284692
Log:
MFC r284547:
Fix a bug reported by coverity. Since AF_UNIX sockets don't
have multiple addresses, the problem didn't show up during testing.
Reported by: Coveri
Author: tuexen
Date: Sat Jun 20 08:28:47 2015
New Revision: 284634
URL: https://svnweb.freebsd.org/changeset/base/284634
Log:
MFC r284526:
Fix a bug related to flow assignment I introduced in
https://svnweb.freebsd.org/base?view=revision&revision=275483
Modified:
stable/10/sys/netinet/sct
Author: tuexen
Date: Sat Jun 20 08:25:27 2015
New Revision: 284633
URL: https://svnweb.freebsd.org/changeset/base/284633
Log:
MFC r284515:
Add FIB support for SCTP.
This fixes https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200379
PR: 200379
Modified:
stable/10/sys/netinet/sctp_a
Author: tuexen
Date: Wed Jun 17 09:44:02 2015
New Revision: 284507
URL: https://svnweb.freebsd.org/changeset/base/284507
Log:
MFC r284393:
Correctly detect the case where the last address is removed.
Modified:
stable/10/sys/netinet/sctp_asconf.c
Directory Properties:
stable/10/ (props c
Author: tuexen
Date: Wed Jun 17 09:41:16 2015
New Revision: 284506
URL: https://svnweb.freebsd.org/changeset/base/284506
Log:
MFC r284386:
Fix name of a constant.
Modified:
stable/10/lib/libc/net/sctp_bindx.3
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/lib/libc
Author: tuexen
Date: Wed Jun 17 09:39:40 2015
New Revision: 284505
URL: https://svnweb.freebsd.org/changeset/base/284505
Log:
MFC r284384:
Stop the heartbeat timer when removing a net.
Thanks to the reporter of
https://code.google.com/p/sctp-refimpl/issues/detail?id=14
for reporting the
Author: tuexen
Date: Tue Jun 16 08:36:57 2015
New Revision: 284441
URL: https://svnweb.freebsd.org/changeset/base/284441
Log:
MFC r284351:
Simplify printaddr(). No functional change.
MFC r284352:
Allow more than one socket entry for a file descriptor. This is needed
for supporting 1-t
Author: tuexen
Date: Tue Jun 16 08:26:33 2015
New Revision: 284440
URL: https://svnweb.freebsd.org/changeset/base/284440
Log:
MFC r284332:
Fix the reporting of the PMTUD state for specific paths.
Modified:
stable/10/sys/netinet/sctp_usrreq.c
Directory Properties:
stable/10/ (props ch
Author: tuexen
Date: Tue Jun 16 08:24:08 2015
New Revision: 284439
URL: https://svnweb.freebsd.org/changeset/base/284439
Log:
MFC r284331:
Code cleanup.
Modified:
stable/10/sys/netinet/sctp_output.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/netinet/sct
Author: tuexen
Date: Tue Jun 16 08:21:58 2015
New Revision: 284438
URL: https://svnweb.freebsd.org/changeset/base/284438
Log:
MFC r284326:
In case of an output error, continue with the next net, don't try to
continue sending on the same net.
This fixes a bug where an invalid mbuf cha
Author: tuexen
Date: Mon Jun 8 07:06:33 2015
New Revision: 284150
URL: https://svnweb.freebsd.org/changeset/base/284150
Log:
MFC r283988:
Export a pointer to the SCTP socket. This is needed to add SCTP support
to sockstat.
Modified:
stable/10/sys/netinet/sctp_sysctl.c
stable/10/sys/
Author: tuexen
Date: Wed Jun 3 17:45:45 2015
New Revision: 283958
URL: https://svnweb.freebsd.org/changeset/base/283958
Log:
MFC r283784:
Remove trailing whitespaces.
MFC r283785:
Require the embedded packet to contain 8 bytes after the IP header instead
of only 4. This is guaranteed
Author: tuexen
Date: Sun May 31 13:07:22 2015
New Revision: 283830
URL: https://svnweb.freebsd.org/changeset/base/283830
Log:
MFC r283691:
Remove printf() noise...
Modified:
stable/10/sys/netinet/sctp_output.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/
Author: tuexen
Date: Sun May 31 13:04:38 2015
New Revision: 283829
URL: https://svnweb.freebsd.org/changeset/base/283829
Log:
MFC r283666:
Report the MTU consistently as specified in
https://tools.ietf.org/html/rfc6458
Thanks to Irene Ruengeler for helping me to fix this bug.
Modified:
Author: tuexen
Date: Sun May 31 13:01:58 2015
New Revision: 283828
URL: https://svnweb.freebsd.org/changeset/base/283828
Log:
MFC r283665:
Take source and destination address into account when determining
the scope.
This fixes a problem when a client with a global address
connects to
Author: tuexen
Date: Sun May 31 12:59:22 2015
New Revision: 283827
URL: https://svnweb.freebsd.org/changeset/base/283827
Log:
MFC r283664:
Retire SCTP_DONT_DO_PRIVADDR_SCOPE which was never defined.
Modified:
stable/10/sys/netinet/sctp_output.c
stable/10/sys/netinet/sctp_pcb.c
Director
Author: tuexen
Date: Sun May 31 12:56:22 2015
New Revision: 283826
URL: https://svnweb.freebsd.org/changeset/base/283826
Log:
MFC r283662:
Fix a bug where messages would not be sent in SHUTDOWN_RECEIVED state.
This problem was reported by Mark Bonnekessel and Markus Boese.
Thanks to Ire
Author: tuexen
Date: Sun May 31 12:53:16 2015
New Revision: 283825
URL: https://svnweb.freebsd.org/changeset/base/283825
Log:
MFC r283658:
Use macros for overhead in a consistent way. No functional change.
Thanks to Irene Ruengeler for suggesting the change.
Modified:
stable/10/sys/net
Author: tuexen
Date: Sun May 31 12:50:10 2015
New Revision: 283823
URL: https://svnweb.freebsd.org/changeset/base/283823
Log:
MFC r283654:
Some more debug info cleanup.
Modified:
stable/10/sys/netinet/sctputil.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sy
Author: tuexen
Date: Sun May 31 12:46:40 2015
New Revision: 283822
URL: https://svnweb.freebsd.org/changeset/base/283822
Log:
MFC r283650:
Fix and cleanup the debug information. This has no user-visible changes.
Thanks to Irene Ruengeler for proving a patch.
Modified:
stable/10/sys/net
Author: tuexen
Date: Sun May 31 12:42:34 2015
New Revision: 283821
URL: https://svnweb.freebsd.org/changeset/base/283821
Log:
MFC r283648:
Address some compiler warnings. No functional change.
Modified:
stable/10/sys/netinet/sctp_indata.c
stable/10/sys/netinet/sctp_output.c
stable/10
Author: tuexen
Date: Fri May 29 13:37:04 2015
New Revision: 283741
URL: https://svnweb.freebsd.org/changeset/base/283741
Log:
MFC r282810:
Ensure that the COOKIE-ACK can be sent over UDP if the COOKIE-ECHO was
received over UDP.
Thanks to Felix Weinrank for makeing me aware of the probl
Author: tuexen
Date: Fri May 29 13:34:31 2015
New Revision: 283740
URL: https://svnweb.freebsd.org/changeset/base/283740
Log:
MFC r282042:
Don't panic under INVARIANTS when receiving a SACK which cumacks
a TSN never sent.
While there, fix two typos.
Modified:
stable/10/sys/netinet/sc
Author: tuexen
Date: Fri May 29 13:32:08 2015
New Revision: 283739
URL: https://svnweb.freebsd.org/changeset/base/283739
Log:
MFC r281884:
A complete user message is signalled with the MSG_EOR flag, not the MSG_EOF
flag.
Thanks to Valentin Nechayev for reporting the issue.
Modified:
Author: tuexen
Date: Fri May 29 13:30:37 2015
New Revision: 283738
URL: https://svnweb.freebsd.org/changeset/base/283738
Log:
MFC r281202:
The code says "or", not "either or". So fix the documentation.
Modified:
stable/10/usr.bin/sockstat/sockstat.1
Directory Properties:
stable/10/ (
Author: tuexen
Date: Fri May 29 13:28:24 2015
New Revision: 283737
URL: https://svnweb.freebsd.org/changeset/base/283737
Log:
MFC r280782:
Add an SCTP symbol which was missed in
https://svnweb.freebsd.org/base?view=revision&revision=169622
This fixes
https://bugs.freebsd.org/bugzilla/
Author: tuexen
Date: Fri May 29 13:26:05 2015
New Revision: 283736
URL: https://svnweb.freebsd.org/changeset/base/283736
Log:
MFC r280714:
Improve the selection of the destination address of SACK chunks.
This fixes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196755
and is joint
Author: tuexen
Date: Fri May 29 13:23:16 2015
New Revision: 283734
URL: https://svnweb.freebsd.org/changeset/base/283734
Log:
MFC r280642:
Make sure that we don't free an SCTP shared key too early.
Thanks to Pouyan Sepehrdad from Qualcomm Product Security Initiative
for reporting the is
Author: tuexen
Date: Fri May 29 13:20:39 2015
New Revision: 283733
URL: https://svnweb.freebsd.org/changeset/base/283733
Log:
MFC r280634:
Use the reference count of the right SCTP inp.
Joint work with rrs@
Modified:
stable/10/sys/netinet/sctp_usrreq.c
Directory Properties:
stable/10
Author: tuexen
Date: Fri May 29 13:18:10 2015
New Revision: 283732
URL: https://svnweb.freebsd.org/changeset/base/283732
Log:
MFC r280459:
Fix two bugs which resulted in a screwed up end point list:
* Use a save way to walk throught a list while manipulting it.
* Have to appropiate lock
Author: tuexen
Date: Fri May 29 13:13:12 2015
New Revision: 283731
URL: https://svnweb.freebsd.org/changeset/base/283731
Log:
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
Thank
Author: tuexen
Date: Fri May 29 13:11:13 2015
New Revision: 283730
URL: https://svnweb.freebsd.org/changeset/base/283730
Log:
MFC r280439:
Fix an accounting bug related to the per stream chunk counter.
While there, don't refer to a net articifically.
Modified:
stable/10/sys/netinet/sct
Author: tuexen
Date: Fri May 29 13:08:43 2015
New Revision: 283729
URL: https://svnweb.freebsd.org/changeset/base/283729
Log:
MFC r280404:
When an ICMP message is received and the MTU shrinks, only
mark outstanding chunks for retransmissions.
Modified:
stable/10/sys/netinet/sctp_usrreq
1 - 100 of 132 matches
Mail list logo