Merge r260319 from stable/10 (r260188 from head):

  Fix regression from r249894. Now we pass "gw" as argument to if_output
  method, thus for multicast case we need it to point at "dst".

PR:		185395
Approved by:	re (gjb)


git-svn-id: svn+ssh://svn.freebsd.org/base/releng/10.0@260378 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFS r260404 (MFC r260403 (MFV r260399)):

Apply vendor commits:

197e0ea	Fix for TLS record tampering bug.  (CVE-2013-4353).
3462896	For DTLS we might need to retransmit messages from the
	previous session so keep a copy of write context in DTLS
	retransmission buffers instead of replacing it after
	sending CCS.  (CVE-2013-6450).
ca98926	When deciding whether to use TLS 1.2 PRF and record hash
	algorithms use the version number in the corresponding
	SSL_METHOD structure instead of the SSL structure.  The
	SSL structure version is sometimes inaccurate.
	Note: OpenSSL 1.0.2 and later effectively do this already.
	(CVE-2013-6449).

Security:	CVE-2013-4353
Security:	CVE-2013-6449
Security:	CVE-2013-6450
Approved by:	re (gjb)


git-svn-id: svn+ssh://svn.freebsd.org/base/releng/10.0@260405 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFstable/10 r260402:

Bring back the old size of the kinfo_file structure to preserve ABI.
Keep only one uint64_t spare for further cap_rights_t expension.

Add a comment clarifying that if the size of this structure changes,
a new sysctl MIB has to be allocate for it and the old structure has
to be returned by the old sysctl MIB.

Requested by:	re
Approved by:	re (gjb)


git-svn-id: svn+ssh://svn.freebsd.org/base/releng/10.0@260406 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r260232:
Don't check for fd limits in fdgrowtable_exp.

Callers do that already and additional check races with process
decreasing limits and can result in not growing the table at all, which
is currently not handled.

Approved by:	re


git-svn-id: svn+ssh://svn.freebsd.org/base/releng/10.0@260409 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update releng/10.0/ to -RC5 as part of the 10.0-RELEASE cycle.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/releng/10.0@260430 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f