summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r293190: MFV r293125: less v481.delphij2016-01-1860-1033/+2080
| | | | Relnotes: yes
* MFC r289873:tuexen2016-01-185-2/+385
| | | | | | Add support to systat to display SCTP statistics. MFC r289874: Bump date in man page.
* MFC 290728:jhb2016-01-186-14/+51
| | | | | | | | | | | | | | | | | | | | | | | | | Export various helper variables describing the layout and size of certain kernel structures for use by debuggers. This mostly aids in examining cores from a kernel without debug symbols as a debugger can infer these values if debug symbols are available. One set of variables describes the layout of 'struct linker_file' to walk the list of loaded kernel modules. A second set of variables describes the layout of 'struct proc' and 'struct thread' to walk the list of processes in the kernel and the threads in each process. The 'pcb_size' variable is used to index into the stoppcbs[] array. The 'vm_maxuser_address' is used to distinguish kernel virtual addresses from user addresses. This doesn't have to be perfect, and 'vm_maxuser_address' is a cheap and simple way to differentiate kernel pointers from simple values like TIDs and PIDs. While here, annotate the fields in struct pcb used by kgdb on amd64 and i386 to note that their ABI should be preserved. Annotations for other platforms will be added in the future.
* MFC r292573asomers2016-01-181-1/+9
| | | | | | | | | | | | | | Fix "mount -a" for NFS and ZFS filesystems with shared mountpoints sbin/mount.c Check whether an fstab entry has the same fstype as a mounted filesystem before declaring it to be mounted. This will allow NFS filesystems that share a mountpoint with a local filesystem to be automatically mounted at boot. This is not such an unusual situation. For example, if somebody uses the standard installer with a ZFS root, he'll get a /usr/home filesystem, even though he may choose to mount /usr/home over NFS.
* MFC r281058: Remove whitespace.emaste2016-01-181-13/+12
|
* MFC r293244: Introduce and use new EFI_ERROR_CODE macro for EFI errorsemaste2016-01-184-9/+9
|
* MFC r293343: Move amd64 metadata.h to x86 and share with i386emaste2016-01-183-86/+63
|
* MFC r281381: Use explicitly sized types in EFI module metadataemaste2016-01-181-5/+5
| | | | This will allow the same metadata struct to be used on all platforms.
* MFC r293680pfg2016-01-184-34/+80
| | | | | | | | | | | | ext4: add support for reading sparse files Add support for sparse files in ext4. Also implement read-ahead, which greatly increases the performance when transferring files from ext4. The sparse file support has become very common in ext4. Both features implemented by Damjan Jovanovic. PR: 205816
* MFC r293165: loader.efi: support non-contiguous console modesemaste2016-01-181-2/+3
|
* MFC r281117: Move boot1.efi to the global CLEANFILES listemaste2016-01-181-2/+2
| | | | It's not x86 specific.
* MFC r287930: Various small cleanups to EFI loader Makefiles.emaste2016-01-182-7/+6
|
* MFC r293679:ae2016-01-183-6/+8
| | | | | | | | | | | | Change the type of newsize argument in the smbfs_smb_setfsize() function from int to int64. MSDN says that SMB_SET_FILE_END_OF_FILE_INFO uses signed 64-bit integer to specify offset, but since smbfs_smb_setfsize() has used plain int, a value was truncated in case when offset was larger than 2G. https://msdn.microsoft.com/en-us/library/ff469975.aspx In particular, now `truncate -s 10G` will work correctly on the mounted SMB share.
* Remove tools/regression/lib/msun (follow up to r292497)ngie2016-01-1816-3059/+0
| | | | Sponsored by: EMC / Isilon Storage Division
* MFC r292497:ngie2016-01-188-1/+1978
| | | | | Integrate the remaining tools/regression/lib/msun testcases into the FreeBSD test suite under lib/msun/tests
* MFC r293705:ngie2016-01-181-2/+2
| | | | | | | | | Similar to r293704, fix theoretical leak of netconfig(3) resources in __rpcbind_is_up(..) if getnetconfig(3) is partly successful in allocating resources, but not completely successful by moving the endnetconfig(3) call up before we return from the function if nconf == NULL. Submitted by: Miles Ohlrich <miles.ohlrich@isilon.com>
* MFC r293704:ngie2016-01-181-1/+1
| | | | | | | | | | | | Fix theoretical leak of netconfig(3) resources in svcunix_create(..) In the event that the getconfig(3) call in svcunix_create is partly successful, some of the netconfig(3) resources allocated might be leaked if the call returns NULL as endnetconfig(3) wasn't called explicitly in that case. Ensure that the resources are fully cleaned up by going to the `done` label, which will call endnetconfig(3) for us. Submitted by: Miles Ohlrich <miles.ohlrich@isilon.com>
* MFC r287281:tuexen2016-01-171-3/+1
| | | | | Report CLOSED as state for bound sockets for consistency with netstat and the way TCP is handled.
* MFC r287182:tuexen2016-01-172-7/+63
| | | | Add SCTP support.
* MFC r287179:tuexen2016-01-171-3/+2
| | | | Remove a variable which is set but never used.
* MFC r293781:ian2016-01-175-73/+248
| | | | | | | | | Restore uart PPS signal capture polarity to its historical norm, and add an option to invert the polarity in software. Also add an option to capture very narrow pulses by using the hardware's MSR delta-bit capability of latching line state changes. Relnotes: yes
* MFH (r287178): print status on first line, not last.des2016-01-171-11/+12
| | | | This revision has previously been (incorrectly) recorded as merged.
* MFC r285651:tuexen2016-01-171-2/+2
| | | | | | | Move assignments around to avoid a false-positive uninitialized variable warning which broke the sparc64 build. This is work from des@ and MFCing was discussed with him.
* MFC r285630:tuexen2016-01-172-8/+33
| | | | | | | 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 discussed with him.
* MFC r290641:tuexen2016-01-171-4/+7
| | | | | | Add support for SCTP checksum offloading for the 82580 controller similar to the 82576 controller. Tested with Intel i340 cards.
* MFC r294057:tuexen2016-01-171-2/+6
| | | | | | | | | | | | | | | | | | | | 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: // Setup a connected, blocking 1-to-1 style socket +0.0 socket(..., SOCK_STREAM, IPPROTO_SCTP) = 3 // Check the handshake with en empty(!) cookie +0.0 bind(3, ..., ...) = 0 +0.0 listen(3, 1) = 0 +0.0 < sctp: INIT[flgs=0, tag=1, a_rwnd=1500, os=1, is=1, tsn=1] +0.0 > sctp: INIT_ACK[flgs=0, tag=2, a_rwnd=..., os=..., is=..., tsn=1, ...] +0.0 < sctp: COOKIE_ECHO[flgs=0, len=..., val=...] +0.0 > sctp: COOKIE_ACK[flgs=0] +0.0 accept(3, ..., ...) = 4 +0.0 close(3) = 0 // Inject an INIT chunk and expect an INIT-ACK +0.0 < sctp: INIT[flgs=0, tag=3, a_rwnd=1500, os=1, is=1, tsn=1] +0.0 > sctp: INIT_ACK[flgs=0, tag=..., a_rwnd=..., os=..., is=..., tsn=..., ...]
* MFC r293913:tuexen2016-01-171-2/+16
| | | | | 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.
* MFC r293828:tuexen2016-01-171-8/+9
| | | | | Store the timer type for logging, because the timer can be freed during processing the timerout.
* MFC r292734:tuexen2016-01-171-4/+1
| | | | | | | 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 application. While there, remove a stray character.
* MFC r292558:tuexen2016-01-171-0/+1
| | | | Stop processing of a SACK when the association has been aborted.
* MFC r292060:tuexen2016-01-173-42/+0
| | | | | | | | | 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 inp goes away when it is called. This happens on stress tests on a RPi B+.
* MFC r291904:tuexen2016-01-178-9/+14
| | | | | | | | | 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 for an existing association, use the value from the association, not from the end-point.
* MFC r291752:tuexen2016-01-171-0/+1
| | | | | Fix a bug where a stream reset request wasn't retranmitted when the peer indicated "In progress".
* MFC r291700:tuexen2016-01-174-3/+24
| | | | Ensure that outgoing streams get reset when they run dry.
* MFC r291659:tuexen2016-01-171-1/+1
| | | | Minor cleanup. No functional change.
* MFC r291651:tuexen2016-01-171-3/+7
| | | | | Adjust the MTU when accepting an SCTP association using UDP encapsulation.
* MFC r291410:tuexen2016-01-171-4/+8
| | | | | Take also the send queue and sent queue into account when triggering the sending of outgoing stream reset requests.
* MFC r291376:tuexen2016-01-171-3/+12
| | | | | | 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.
* MFC r288297 (userland part).melifaro2016-01-172-1/+6
| | | | | | | | | | | If ever MFC is done for the new lltable code, this change will miminise ABI breakage. rtsock requests for deleting interface address lles started to return EPERM instead of old "ignore-and-return 0" in r287789. This broke arp -da / ndp -cn behavior (they exit on rtsock command failure). Fix this by translating LLE_IFADDR to RTM_PINNED flag, passing it to userland and making arp/ndp ignore these entries in batched delete.
* MFC r292831: Add SFF-8024 Extended Specification Compliance.melifaro2016-01-172-5/+45
| | | | | Submitted by: markb_mellanox.com Differential Revision: https://reviews.freebsd.org/D4666
* MFH (r280630): remove all traces of SSLv2 supportdes2016-01-166-51/+67
| | | | | | | | | | | MFH (r285141): remove unused variable MFH (r288217): correctly check return value from getaddrinfo(3) MFH (r289419): fix bugs in HTTPS tunnelling MFH (r289420): use fopen()'s "e" mode instead of fcntl for close-on-exec MFH (r291453, r291461): use .netrc for http servers and proxies MFH (r292330, r292332): reset bufpos to 0 after refilling in chunked mode PR: 194483 199801 193740 204771
* MFH (r292408): use correct length in calloc() calldes2016-01-161-1/+1
|
* MFH (r262530): fix is_upper() predicate (almost two years late...)des2016-01-1612-11/+144
| | | | | | | | | MFH (r271614): remove incorrect svn properties MFH (r274145): cast-qual bugs in tests MFH (r288070): restore correct module search path semantics Also merge upstream r854, committed to head as part of r280031, which fixes cast-qual bugs in libpam itself.
* MFH (r292206): upgrade to Unbound 1.5.7des2016-01-1683-606/+1833
| | | | MFH (r292135): run configure script with correct compiler
* MFC r291364:tuexen2016-01-161-0/+12
| | | | | | | | | 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 packet to SCTP. Since the bits indicating a valid UDP checksum and a valid SCTP checksum are the same, the SCTP stack would assume that also an SCTP checksum check has been performed.
* MFC: r287337allanjude2016-01-161-1/+1
| | | | | | | | | | Apply the noline attribute to vdev_queue_max_async_writes This makes it possible to analyze the performance of the new ZFS write throttle with dtrace PR: 200316 Sponsored by: FreeBSD Mastery: Advanced ZFS
* MFC r291141:tuexen2016-01-162-47/+9
| | | | | Fix the handling of IPSec policies in the SCTP stack. At least make sure they are not leaked...
* MFC r291140:tuexen2016-01-161-2/+4
| | | | | Revert part of r291137 which seems correct, bit does not fix the resource problem I'm currently hunting down.
* MFC r291138:tuexen2016-01-161-1/+2
| | | | Clear the so_pcb pointer in case of ipsec_init_policy() fails.
* MFC r291137:tuexen2016-01-162-8/+5
| | | | | | Don't send SHUTDOWN chunk when the association is in a front state and the applications calls shutdown(..., SHUT_WR) or shutdown(..., SHUT_RDWR).
OpenPOWER on IntegriCloud