summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r282208:smh2015-06-018-142/+164
| | | | | | | Standardise chmod, chflags, chown and chgrp recursive symlink processing Relnotes: Yes Sponsored by: Multiplay
* MFC r283515:kib2015-06-011-2/+0
| | | | Remove excess Giant acquisition around the dounmount() call.
* MFC SVN revisions 280310-280311,281160,281167,282443,283023,283288:dteske2015-06-011-49/+77
| | | | | | | | | | r280310: Whitespace cleanup(s) r280311: Update copyright(s) r281160: [mergeinfo only] Fix root encryption key permissions (see r281230) r281167: [mergeinfo only] Unbreak ZFS+GELI install option (see r281230) r282443: Add swap size sanity check (allanjude) r283023: Skip adding swap to fstab(5) if unused (allanjude) r283288: Fix a syntax error (allanjude)
* MFC SVN revisions 280234-280235:dteske2015-06-011-1/+4
| | | | | r280234: Fix the handbook install option in bsdinstall (allanjude) r280235: Fixup to previous (allanjude)
* MFC SVN revisions 272278,272379,275874:dteske2015-06-013-174/+270
| | | | | | r272278: Prevent buffer overflow(s) + style(9) nits r272379: Optimize program performance + style(9) nits r275874: Improve feedback to user by using dpv(3)
* MFC r280921: Fix typo in a comment.dteske2015-06-011-1/+1
|
* MFC r273480, r273750, r273753, r273797, and r274461.np2015-05-313-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | r273480: cxgbe/iw_cxgbe: wake up waiters after flushing the qp. r273750: Some cxgbe/iw_cxgbe fixes: - Free rt in c4iw_connect only if it is allocated. - Call soclose instead of so_shutdown if there is an abort from the peer. - Close socket and return failure if TOE is not enabled. r273753: iwcm_event status needs to be populated for close_complete_upcall r273797: Always request a completion for every work request for iWARP. The initial MPA exchange must be tracked this way so that t4_tom's state for the tid is all clean at the time the tid transitions to RDMA mode. Once it does, t4_tom is out of the way and iw_cxgbe uses the qp endpoints directly. r274461: iw_cxgbe: don't forget to close the socket in c4iw_connect if soconnect fails.
* MFC r283313:ae2015-05-312-7/+19
| | | | | | | | | | | | Properly update TX statistics for wlan(4). ieee80211_pwrsave() can fail due to queue overflow, check its return code and increment oerrors counter when it fails. Also handle more error cases and update oerrors counter when we don't send mbuf due to some errors. Return ENETDOWN when parent interface isn't ready. Update obytes and omcasts counters in corresponding places. PR: 184626 Differential Revision: https://reviews.freebsd.org/D2621
* MFC r272719:np2015-05-315-34/+93
| | | | | | cxgbe/tom: don't leak resources tied to an active open request that cannot be sent to the chip because a prerequisite L2 resolution failed.
* MFC r283147:ngie2015-05-313-0/+6
| | | | | | | Build cddl/{sbin,usr.bin,usr.sbin} in parallel as all of the applications are freestanding (they require libraries build via make libraries in buildworld) Sponsored by: EMC / Isilon Storage Division
* MFC r282965:ae2015-05-315-9/+33
| | | | | | | | | | Add an ability accept encapsulated packets from different sources by one gif(4) interface. Add new option "ignore_source" for gif(4) interface. When it is enabled, gif's encapcheck function requires match only for packet's destination address. Differential Revision: https://reviews.freebsd.org/D2004 Sponsored by: Yandex LLC
* MFC r283357:ngie2015-05-313-293/+0
| | | | Remove directory for test that has been integrated in under tests/sys/...
* MFC r283117:ae2015-05-311-2/+0
| | | | | | Remove unneded mbuf length adjustment, M_PREPEND() already did that. PR: 139387
* MFC r283170:ngie2015-05-312-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | Import proposed fix from upstream for atf-sh/atf_check_test:flush_stdout_on_timeout Many thanks for jmmv for the fix! PR: 197060 Original commit message: From 0e546407567ea858e261e72f75c5ed61e07d0ddf Mon Sep 17 00:00:00 2001 From: Julio Merino <jmmv@google.com> Date: Tue, 17 Feb 2015 18:10:11 -0500 Subject: [PATCH] Fix atf-sh/atf_check_test:flush_stdout_on_death The test atf-sh/atf_check_test:flush_stdout_on_timeout was flaky as it was playing solely with time. Fix this by making the test more robust and rename it while we are at it: there is nothing left about "timeouts" in this test, considering that ATF itself does not enforce deadlines any longer. Fixes FreeBSD PR 197060.
* MFC r283502:ngie2015-05-311-1/+0
| | | | | | Remove SUBDIR_DEPEND for non-existent libreadline directory libreadline lives under gnu/lib
* MFC r277627,r277650,r282059,r283056,r283840,r283845:ngie2015-05-316-6/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r277627 (by will): Add routing_test:static_ipv6_loopback_route_for_each_fib. It tests that all FIBs get a static IPv6 loopback route. Submitted by: asomers Sponsored by: Spectra Logic MFSpectraBSD: 1048456 on 2014/03/13 1114523 on 2015/01/23 r277650 (by will): Add tests/etc/rc.d to mtree. Submitted by: stefanf MFC with: 277627 r282059: Move etc/tests/rc.d to etc/rc.d/tests to match the directory layout jmmv@ documented and implemented in other areas of the FreeBSD tree r283056: Move all test integration pieces for etc/ from etc/ to tests/ This is being done to fix breakage with make distribution with read-only source trees as make distribution doesn't use make obj like building tests/ does in all cases Reported by: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> Suggested by: jhb r283840: Remove empty tests directory r283845: Append to SUBDIR, not set it Pointyhat to: ngie
* MFC r283691:tuexen2015-05-311-2/+0
| | | | Remove printf() noise...
* MFC r283666:tuexen2015-05-311-25/+74
| | | | | | Report the MTU consistently as specified in https://tools.ietf.org/html/rfc6458 Thanks to Irene Ruengeler for helping me to fix this bug.
* MFC r283665:tuexen2015-05-311-14/+18
| | | | | | | | Take source and destination address into account when determining the scope. This fixes a problem when a client with a global address connects to a server with a private address. Thanks to Irene Ruengeler in helping me to find the issue.
* MFC r283664:tuexen2015-05-312-12/+0
| | | | Retire SCTP_DONT_DO_PRIVADDR_SCOPE which was never defined.
* MFC r283662:tuexen2015-05-312-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Irene Ruengeler for helping me to fix the cause of the problem. It can be tested with the following packetdrill script: +0.0 socket(..., SOCK_STREAM, IPPROTO_SCTP) = 3 +0.0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) +0.0 fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 // Check the handshake with an empty(!) cookie +0.1 connect(3, ..., ...) = -1 EINPROGRESS (Operation now in progress) +0.0 > sctp: INIT[flgs=0, tag=1, a_rwnd=..., os=..., is=..., tsn=0, ...] +0.1 < sctp: INIT_ACK[flgs=0, tag=2, a_rwnd=10000, os=1, is=1, tsn=0, STATE_COOKIE[len=4, val=...]] +0.0 > sctp: COOKIE_ECHO[flgs=0, len=4, val=...] +0.1 < sctp: COOKIE_ACK[flgs=0] +0.0 getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0 +0.0 write(3, ..., 1024) = 1024 +0.0 > sctp: DATA[flgs=BE, len=1040, tsn=0, sid=0, ssn=0, ppid=0] +0.0 write(3, ..., 1024) = 1024 // Pending due to Nagle +0.0 < sctp: SHUTDOWN[flgs=0, cum_tsn=0] +0.0 > sctp: DATA[flgs=BE, len=1040, tsn=1, sid=0, ssn=1, ppid=0] +0.0 < sctp: SACK[flgs=0, cum_tsn=1, a_rwnd=10000, gaps=[], dups=[]] // Do we need another SHUTDOWN here? +0.0 > sctp: SHUTDOWN_ACK[flgs=0] +0.0 < sctp: SHUTDOWN_COMPLETE[flgs=0] +0.0 close(3) = 0
* MFC r283658:tuexen2015-05-311-14/+17
| | | | | Use macros for overhead in a consistent way. No functional change. Thanks to Irene Ruengeler for suggesting the change.
* MFC r283654:tuexen2015-05-311-10/+20
| | | | Some more debug info cleanup.
* MFC r283650:tuexen2015-05-3111-107/+171
| | | | | Fix and cleanup the debug information. This has no user-visible changes. Thanks to Irene Ruengeler for proving a patch.
* MFC r283648:tuexen2015-05-313-9/+11
| | | | Address some compiler warnings. No functional change.
* MFC: r283695bapt2015-05-311-1/+0
| | | | | | Remove dead declaration PR: 195928
* MFC: r281039bapt2015-05-301-13/+6
| | | | Allow fetching pkg(8) even if servers/proxies are not passing Content-length
* MFC: r273778 (by nwhitehorn)bapt2015-05-301-1/+1
| | | | | | Remove spurious libelf dependency. Submitted by: pluknet
* MFC: r273754 (by nwhitehorn)bapt2015-05-302-341/+22
| | | | | | | | | Use pkg-1.4-style platform identifiers based on MACHINE_ARCH (e.g. FreeBSD:11:amd64 instead of freebsd:11:x86:64) when bootstrapping pkg. Thanks to portmgr for providing symlinks so both styles work. Reviewed by: bapt MFC after: 3 weeks
* MFC: r259773, r259774, r259775bapt2015-05-301-2/+9
| | | | | | | Do not print a question in non-interractive mode but explain why boostrapping has failed and how to allow it to happen Reported by: jmmv
* MFC: r258226bapt2015-05-301-1/+1
| | | | argc is now used
* MFC: r258020 (by bdrewery)bapt2015-05-301-8/+4
| | | | | | | Remove useless checks for NULL pointer before free(3) Reported by: eadler Approved by: eadler
* MFC: r257701 (by bdrewery)bapt2015-05-301-3/+0
| | | | | Remove condition which can never be true as the previous loop is never exited while remote == NULL.
* MFC r283320:kib2015-05-301-5/+2
| | | | Always obey thread request to not stop on non-boundary.
* MFC: r283008rmacklem2015-05-301-0/+3
| | | | | | | | | | Add a warning message to mountd for exported file systems that are automounted, since that configuration isn't supported. This still allows the export, since two emails I received felt that this should not be disabled. It sends the message to syslog(LOG_ERR..), so that it goes to the same places as the other messages related to /etc/exports problems, even though it is a warning and not an error.
* MFC r281236 -- extended media types in if_media.h.erj2015-05-296-14/+201
| | | | Approved by: jfv (mentor)
* MFC r283274davidcs2015-05-293-44/+49
| | | | | Submitted by: gary.zambrano@qlogic.com Approved by:davidcs@freebsd.org
* MFC r283269davidcs2015-05-291-27/+79
| | | | | Submitted by:gary.zambrano@qlogic.com Approved by:davidcs@freebsd.org
* MFC r283295: ipf(1): Use strchr(3) instead of deprecated index(3)emaste2015-05-291-1/+1
| | | | Sponsored by: The FreeBSD Foundation
* MFC r282810:tuexen2015-05-291-1/+2
| | | | | | | 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 problem and to Irene Ruengeler for providing the fix.
* MFC r282042:tuexen2015-05-291-9/+2
| | | | | | Don't panic under INVARIANTS when receiving a SACK which cumacks a TSN never sent. While there, fix two typos.
* MFC r281884:tuexen2015-05-291-3/+3
| | | | | | A complete user message is signalled with the MSG_EOR flag, not the MSG_EOF flag. Thanks to Valentin Nechayev for reporting the issue.
* MFC r281202:tuexen2015-05-291-2/+2
| | | | The code says "or", not "either or". So fix the documentation.
* MFC r280782:tuexen2015-05-291-0/+1
| | | | | | | | Add an SCTP symbol which was missed in https://svnweb.freebsd.org/base?view=revision&revision=169622 This fixes https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197783 Thanks to Jukka Ukkonen for reporting the bug and providing a fix.
* MFC r280714:tuexen2015-05-292-20/+4
| | | | | | | 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 work with rrs@.
* MFC r280642:tuexen2015-05-291-2/+2
| | | | | | 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 issue.
* MFC r280634:tuexen2015-05-291-1/+1
| | | | | Use the reference count of the right SCTP inp. Joint work with rrs@
* MFC r280459:tuexen2015-05-292-8/+9
| | | | | | | 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 locks in place. Joint work with rrs@
* MFC r280440:tuexen2015-05-291-3/+5
| | | | | | 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.
* MFC r280439:tuexen2015-05-291-6/+2
| | | | | Fix an accounting bug related to the per stream chunk counter. While there, don't refer to a net articifically.
OpenPOWER on IntegriCloud