Displaying 1 50 of 281,083 commits (0.069s)

FreeBSD — stable/10/sys/kern kern_thread.c

MFC r283320:
Always obey thread request to not stop on non-boundary.
Delta File
+2 -5 stable/10/sys/kern/kern_thread.c
+2 -5 1 file

FreeBSD — projects/ifnet/sys/net if_tap.c

Fix an error I made in r283655. We need to sleep while we DON'T have an mbuf.

Submitted by:        Tiwei Bie <btw mail.ustc.edu.cn>
Delta File
+1 -1 projects/ifnet/sys/net/if_tap.c
+1 -1 1 file

FreeBSD — stable/7/sys/dev/bxe bxe.c bxe_stats.h

MFC r283274
Add stat counters for Jumbo Frames using SGE ring.
Also remove the checks for IFCAP_LRO in bxe_alloc_fp_buffers() and bxe_pf_rx_q_prep() 
since both TPA and Jumbo can use SGE ring.

Submitted by:gary.zambrano at qlogic.com

FreeBSD — stable/10/usr.sbin/mountd mountd.c

MFC: r283008
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.

FreeBSD — stable/7/sys/dev/bxe bxe.c

MFC r283269

Submitted by:        gary.zambrano at qlogic.com
Delta File
+79 -27 stable/7/sys/dev/bxe/bxe.c
+79 -27 1 file

FreeBSD — stable/8/sys/dev/bxe bxe.c bxe_stats.h

MFC r283274

Submitted by:gary.zambrano at qlogic.com

FreeBSD — stable/8/sys/dev/bxe bxe.c

MFC r283269

Submitted by:        gary.zambrano at qlogic.com
Approved by:davidcs at freebsd.org
Delta File
+79 -27 stable/8/sys/dev/bxe/bxe.c
+79 -27 1 file

FreeBSD — stable/10/sbin/ifconfig ifmedia.c, stable/10/sys/net if_media.h ieee8023ad_lacp.c

MFC r281236 -- extended media types in if_media.h.

Approved by:        jfv (mentor)

FreeBSD — stable/9/sys/dev/bxe bxe.c bxe_stats.h

MFC r283274

Submitted by:        gary.zambrano at qlogic.com
Approved by:davidcs at freebsd.org

FreeBSD — stable/9/sys/dev/bxe bxe.c

MFC r283269

Submitted by: gary.zambrano at qlogic.com
Approved by:davidcs at freebsd.org
Delta File
+79 -27 stable/9/sys/dev/bxe/bxe.c
+79 -27 1 file

FreeBSD — stable/10/sys/dev/bxe bxe.c bxe_stats.h

MFC r283274

Submitted by:        gary.zambrano at qlogic.com
Approved by:davidcs at freebsd.org

FreeBSD — head/sys/dev/mmc mmcsd.c

Do not set d_fwsectors nor d_fwheads. Primarily because the values
tend to be invalid. On a Beaglebone Black, we get 8192 sectors per
track and that causes major breakages.

Differential Revision: D2646
Reviewed by:        ian@ imp@
Delta File
+1 -24 head/sys/dev/mmc/mmcsd.c
+1 -24 1 file

FreeBSD — head/sys/fs/nfsserver nfs_nfsdsocket.c

Make the NFS server use shared vnode locks for a few cases
that are allowed by the VFS/VOP interface instead of using
exclusive locks.

MFC after:        2 weeks

FreeBSD — stable/10/sys/dev/bxe bxe.c

MFC r283269

Submitted by:gary.zambrano at qlogic.com
Approved by:davidcs at freebsd.org
Delta File
+79 -27 stable/10/sys/dev/bxe/bxe.c
+79 -27 1 file

FreeBSD — head/lib/libc/arm/sys fork.S, head/lib/libc/mips/sys fork.S Makefile.inc

Removed unused special fork() implementations.

The arm version hasn't been used in ages.

The mips version uses a valid, but pointless check of v1 and has been
unhooked from the build since r276630.

Differential Revision:        https://reviews.freebsd.org/D2592
Reviewed by:        emaste
Sponsored by:        DARPA, AFRL

FreeBSD — projects/release-mips/sys/mips/conf UBIQUITI

Create an UBIQUITI kernel configuration for mips.  This
includes the OCTEON1 kernel configuration file, and sets
the OCTEON_VENDOR_UBIQUITI kernel option needed for the
UBIQUITI-based boards.

This kernel configuration is excluded from universe builds.

Note:  This change may or may not be merged back to head,
pending feedback from juli@ on this change.

Sponsored by:        The FreeBSD Foundation

FreeBSD — projects release-mips

Copy ^/head at r283745 to ^/projects/release-mips.

This branch will be used to integrate FreeBSD/mips builds
into the release engineering process and scripts.

Sponsored by:        The FreeBSD Foundation
Delta File
+0 -0 projects/release-mips/
+0 -0 1 file

FreeBSD — stable/10/contrib/ipfilter/tools ipf.c

MFC r283295: ipf(1): Use strchr(3) instead of deprecated index(3)

Sponsored by:        The FreeBSD Foundation

FreeBSD — user/gjb/thermite thermite.sh

Do not unset _build, _conf, and _type in ftp_stage(), because
it returns to build_release() before send_logmail().

Sponsored by:        The FreeBSD Foundation
Delta File
+0 -1 user/gjb/thermite/thermite.sh
+0 -1 1 file

FreeBSD — user/gjb/thermite thermite.sh

Re-sync with the RE repository:
- Fix the source path for rsync(1) to the FTP staging area.
- Send rsync(1) output to the log file.

Sponsored by:        The FreeBSD Foundation
Delta File
+13 -4 user/gjb/thermite/thermite.sh
+13 -4 1 file

FreeBSD — head/sys/kern kern_sig.c

When delivering a signal with default disposition to the thread,
tdsigwakeup() increases the priority of the low-priority threads, to
give them a chance to be terminated timely.  Also, kernel allows user
to signal kernel processes.  The combined effect is that signalling
idle process bump a priority of the selected delivery thread, which
starts eating CPU.

Check for the delivery thread be an idle thread and do not raise its
priority then.

The signal delivery to the kernel threads must be opt-in feature.
Kernel thread should explicitely declare the ability to handle signals
directed to it.  E.g., nfsd threads check for signal as an indication
of exit request.

Most threads do not handle signals at all, and queuing the signal to
them causes odd side-effects.  Most innocent consequence is the memory
leak due to queued ksiginfo, which is never deleted from the sigqueue.
Code to prevent even queuing signals to the kernel threads is trivial,
but it requires careful examination of each call to kproc/kthread
creation to decide should the signalling be allowed.  The commit is a
stop-gap measure which fixes the immediate case for now.

PR:        200493
Reported and tested by:        trasz

    [3 lines not shown]
Delta File
+6 -3 head/sys/kern/kern_sig.c
+6 -3 1 file

FreeBSD — head/sys/dev/ath if_ath.c if_ath_rx.c, head/sys/dev/ath/ath_rate/sample sample.c

Use device_printf() instead of if_printf().  No functional changes.

FreeBSD — head/sys Makefile

Kill EoL whitespace.
Delta File
+1 -1 head/sys/Makefile
+1 -1 1 file

FreeBSD — head/sys Makefile

arm64 added to CSCOPE_ARCHDIR.
Delta File
+1 -1 head/sys/Makefile
+1 -1 1 file

FreeBSD — stable/10/sys/netinet sctp_input.c

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 problem and to
Irene Ruengeler for providing the fix.

FreeBSD — stable/10/sys/netinet sctp_indata.c

MFC r282042:

Don't panic under INVARIANTS when receiving a SACK which cumacks
a TSN never sent.
While there, fix two typos.

FreeBSD — stable/10/lib/libc/net sctp_recvmsg.3

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.

FreeBSD — stable/10/usr.bin/sockstat sockstat.1

MFC r281202:

The code says "or", not "either or". So fix the documentation.

FreeBSD — stable/10/lib/libc/net Symbol.map

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/show_bug.cgi?id=197783
Thanks to Jukka Ukkonen for reporting the bug and providing a fix.
Delta File
+1 -0 stable/10/lib/libc/net/Symbol.map
+1 -0 1 file

FreeBSD — stable/10/sys/netinet sctp_output.c sctp_structs.h

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 work with rrs@.

FreeBSD — head/sys/amd64/amd64 pmap.c vm_machdep.c, head/sys/amd64/ia32 ia32_reg.c

Remove several write-only variables, all reported by the gcc 4.9
buildkernel run.

Some of them were write-only under some kernel options, e.g. variables
keeping values only used by CTR() macros.  It costs nothing to the
code readability and correctness to eliminate the warnings in those
cases too by removing the local cached values used only for
single-access.

Review:        https://reviews.freebsd.org/D2665
Reviewed by:        rodrigc
Looked at by:        bjk
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week

FreeBSD — stable/10/sys/netinet sctp_auth.c

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 issue.
Delta File
+2 -2 stable/10/sys/netinet/sctp_auth.c
+2 -2 1 file

FreeBSD — stable/10/sys/netinet sctp_usrreq.c

MFC r280634:

Use the reference count of the right SCTP inp.
Joint work with rrs@

FreeBSD — stable/10/sys/netinet sctp_usrreq.c sctp_pcb.c

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 locks in place.
Joint work with rrs@

FreeBSD — stable/10/sys/netinet sctp_indata.c

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.

FreeBSD — stable/10/sys/netinet sctputil.c

MFC r280439:

Fix an accounting bug related to the per stream chunk counter.
While there, don't refer to a net articifically.
Delta File
+2 -6 stable/10/sys/netinet/sctputil.c
+2 -6 1 file

FreeBSD — stable/10/sys/netinet sctp_usrreq.c

MFC r280404:

When an ICMP message is received and the MTU shrinks, only
mark outstanding chunks for retransmissions.
Delta File
+11 -13 stable/10/sys/netinet/sctp_usrreq.c
+11 -13 1 file

FreeBSD — stable/10/sys/netinet sctp_output.c

MFC r280371:

Remove a useless assignment.

FreeBSD — stable/10/sys/netinet sctp_usrreq.c

MFC r279886:

Fix the adaptation of the path state when thresholds are changed
using the SCTP_PEER_ADDR_THLDS socket option.
Delta File
+16 -16 stable/10/sys/netinet/sctp_usrreq.c
+16 -16 1 file

FreeBSD — stable/10/sys/netinet sctputil.c

MFC r279867:

Keep track on the socket lock state. This fixes a bug showing up on
Mac OS X.
Delta File
+12 -8 stable/10/sys/netinet/sctputil.c
+12 -8 1 file

FreeBSD — stable/10/sys/netinet sctp_usrreq.c

MFC r279863:

Unlock the stcb when using setsockopt() for the SCTP_PEER_ADDR_THLDS option.

FreeBSD — stable/10/lib/libc/net sctp_sys_calls.c, stable/10/sys/netinet sctp_usrreq.c sctp_cc_functions.c

MFC r279859:

Add a SCTP socket option to limit the cwnd for each path.

FreeBSD — stable/10/sys/netinet sctp_timer.c

MFC r279841:

Fix a typo.

FreeBSD — stable/10/sys/netinet sctp_usrreq.c

MFC r277815:

Whitespace change.

FreeBSD — stable/10/sys/netinet sctp_sysctl.c

MFC r277424:

Remove comparisons which are not necessary.
With manual intervention.

Reported by:        Coverity
CID:                1237826, 1237844, 1237847
Delta File
+14 -0 stable/10/sys/netinet/sctp_sysctl.c
+14 -0 1 file

FreeBSD — stable/10/sys/netinet sctp_timer.c

MFC r277380:

Code cleanup.

Reported by:        Coverity
CID:                749578

FreeBSD — stable/10/sys/netinet sctp_output.c

MFC r277350:

Fix a bug which only shows up when an mbuf allocation failed.
Therefore chances are low that we hit this.

Reported by:        Coverity
CID:                1018886

FreeBSD — stable/10/sys/netinet sctp_input.c

MFC r277348:

Remove an unnecessary check.

Reported by:        Coverity
CID:                749576

FreeBSD — stable/10/sys/netinet sctp_asconf.c

MFC r277347:

Add protection code to free memory in case of processing an address which
is neither IPv4 or IPv6.

Reported by:        Coverity
CID:                749311
Delta File
+10 -0 stable/10/sys/netinet/sctp_asconf.c
+10 -0 1 file

FreeBSD — stable/10/sys/netinet sctp_usrreq.c

MFC r277337:

Remove an unused variable.

Reported by:        Coverity
CID:                750999