MFC r226712 (sobomax):

Add new option -F to specify alternative location of the /etc/fstab
file.

MFC r226742 (ed):

Build swapon with WARNS=6.

Don't use a variable called stat, because it collides with stat(2).


git-svn-id: svn://svn.freebsd.org/base/stable/9@252871 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r248641: libdwarf: anonymous types are expected to have empty type names


git-svn-id: svn://svn.freebsd.org/base/stable/9@252872 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r248645: post mountroot event after a real/final root is mounted


git-svn-id: svn://svn.freebsd.org/base/stable/9@252874 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r249139: strncmp for boot code: fix an off by one error


git-svn-id: svn://svn.freebsd.org/base/stable/9@252875 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r248820: rc.subr: disabling globbing while processing devfs rules


git-svn-id: svn://svn.freebsd.org/base/stable/9@252877 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r237540:
Do packet logging in a consistent way.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252879 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r237541:
Remove redundant check.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252880 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r237542:
Pass the packet length explicitly around.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252881 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r237565:
Whitespace cleanup.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252882 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r237569:
Unify sctp_input() and sctp6_input().


git-svn-id: svn://svn.freebsd.org/base/stable/9@252883 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r252851:

Add PCI IDs for HighPoint RocketRAID 4521, 3620, 3622 and 3640
controllers.  Update the hptiop(4) manual page to reflect this
as well as mentioning that some cards are already end-of-life.

Many thanks to Highpoint for providing this driver update.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252884 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r250567: fdescfs: Supply a real value for d_type in readdir.

All the fdescfs nodes (except . and ..) appear as character devices to
stat(), so DT_CHR is correct.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252885 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r252415, r252422:

acct: reduce code duplication by using acct_disable as cleanup for
failed kproc_create

acct: create a special plimit object and set it for exiting processe
instead of allocating new one each time

All limits are set to RLIM_INFINITY which sould be ok (even though we
care only about RLIMT_FSIZE in this case).


git-svn-id: svn://svn.freebsd.org/base/stable/9@252886 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r250102: socket: Make shutdown() wake up a blocked accept().

A blocking accept (and some other operations) waits on &so->so_timeo. Once
it wakes up, it will detect the SBS_CANTRCVMORE bit.

The error from accept() is [ECONNABORTED] which is not the nicest one -- the
thread calling accept() needs to know out-of-band what is happening.

A spurious wakeup on so->so_timeo appears harmless (sleep retried) except
when lingering on close (SO_LINGER, and in that case there is no descriptor
to call shutdown() on) so this should be fairly safe.

A shutdown() already woke up a blocked accept() for TCP sockets, but not for
Unix domain sockets. This fix is generic for all domains.

This patch was sent to -hackers@ and -net@ on April 5.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252887 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC rr237715, r238294:
Pass the src and dst address of a received packet explicitly around.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252889 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r252337 from head:

  Don't try to re-insert an already present but invalid page.

  This could happen if a thread doing a page-in loses a ZFS range lock
  race to a thread writing to the same range

  This fixes "panic: vm_page_alloc: pindex already allocated" in
  http://docs.FreeBSD.org/cgi/mid.cgi?1372165971.96049.42.camel

Submitted by:	avg


git-svn-id: svn://svn.freebsd.org/base/stable/9@252891 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r226454 (by bz):

Fix VNET build.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252893 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r238003, r239091:
Move common code parts to sctp_common_input_processing().

Fix a bug found by dim@:
Don't use an uninitilized variable, if INVARIANTS is on and an illegal
packet with destination 0 is received.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252896 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r238087:
Initialize a variable.


git-svn-id: svn://svn.freebsd.org/base/stable/9@252897 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC ixgbe driver revisions 248901, 250108, and 251964


git-svn-id: svn://svn.freebsd.org/base/stable/9@252898 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f