223cb0e4 trasz Dec. 12, 2016, 3:22 p.m.
called from ufs_print() in DDB.

MFC after:	1 month
cgit ViewVC
7d9082ca jchandra Dec. 12, 2016, 3:17 p.m.
ARM GIC specification in device trees use 3 cells, so the current
limit of 2 causes the last cell to be dropped. This in turn can
cause the interrupt polarity and trigger settings to be incorrect.

Increase the limit to 4 which should handle all reasonable cases.
This fixes issues seen in QEMU when registering PCI interrupts.
cgit ViewVC
8a030e9c ae Dec. 12, 2016, 11:26 a.m.
Add rcvif local variable to keep inbound interface pointer. Count
ifs6_in_discard errors in all "goto bad" cases. Now it will count
errors even if mbuf was freed. Modify all places where m->m_pkthdr.rcvif
is used to use local rcvif variable.

Obtained from:	Yandex LLC
MFC after:	1 month
cgit ViewVC
778aa66a kib Dec. 12, 2016, 11:12 a.m.
Requested and reviewed by:	cem
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D8746
cgit ViewVC
545d3122 kib Dec. 12, 2016, 11:11 a.m.
the reaper.

The traditional reaper init(8) is aware of zombies silently reparented
to it after the parents exit, it loops around waitpid(2) to collect
them.  For other reapers, the silent reparenting is surprising and
collecting zombies requires a thread blocking in waitpid(2) just for
that purpose.  It seems that sending second SIGCHLD is a better
workaround than forcing all reapers to obey the setup.

Reported by:	 Michael Zuo <muh.muhten@gmail.com>, jilles
PR:	213928
Reviewed by:	jilles (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
cgit ViewVC
5a1842a2 ae Dec. 12, 2016, 10:57 a.m.
for IPv6.

It gets performance benefits from reduced number of checks. It doesn't
copy mbuf to be able send ICMPv6 error message, because it keeps mbuf
unchanged until the moment, when the route decision has been made.
It doesn't do IPsec checks, and when some IPsec security policies present,
ip6_input() uses normal slow path.

Reviewed by:	bz, gnn
Obtained from:	Yandex LLC
MFC after:	1 month
Sponsored by:	Yandex LLC
Differential Revision:	https://reviews.freebsd.org/D8527
cgit ViewVC
6c1204df sephe Dec. 12, 2016, 5:18 a.m.
MFC after:	1 week
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D8739
cgit ViewVC
b99113a1 sephe Dec. 12, 2016, 5:04 a.m.
MFC after:	1 week
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D8738
cgit ViewVC
27150ef8 pfg Dec. 12, 2016, 3:46 a.m.
Make sure the parameters used for malloc(3) can hold size_t sizes.
This should help ed(1) handle bigger data in the future.

MFC after:	2 weeks
cgit ViewVC
63ecfce8 ngie Dec. 12, 2016, 2:21 a.m.
contrib/libarchive's tests

MFC after:	2 weeks
Obtained from:	libarchive (ebe29c, fd0ea2, f9e3de)
Reported by:	Coverity
cgit ViewVC
f428c3b1 ngie Dec. 12, 2016, 2:12 a.m.
Obtained from:	libarchive (f9e3de49fb294901374e0c8c6c2ceaeea7b6d6c0)
cgit ViewVC
48de4541 ngie Dec. 12, 2016, 2:11 a.m.
Obtained from:	libarchive (fd0ea220635939ffe4b9ffb5cacaaa526a25b5ae)
cgit ViewVC
373c7178 ngie Dec. 12, 2016, 2:09 a.m.
Reported by:	Coverity
CID:	1331631, 1331632, 1331633, 1331646

Obtained from: libarchive (ebe29c0ec3b1aaa424df9cf884721c6018c676f4)
cgit ViewVC
b6ff6724 hiren Dec. 11, 2016, 11:14 p.m.
in6p_options to check that. That is incorrect as we carry ip options in
in6p_outputopts. Also, just checking for in6p_outputopts being NULL won't
suffice as we combine ip options and ip header fields both in that one field.
The commit fixes this by using ip6_optlen() which correctly calculates length
of only ip options for IPv6.

Reviewed by:	    ae, bz
MFC after:	    3 weeks
Sponsored by:	    Limelight Networks
cgit ViewVC
2823b646 mav Dec. 11, 2016, 7:50 p.m.
At least on FreeBSD there are no legal way to access media or get its
size without opening device/provider first.  Postponing this caching
allows to skip several disk seeks per ZVOL/snapshot during import.

For HDD pool with 1 ZVOL in dev mode with 1000 snapshots this reduces
pool import time from 40 to 10 seconds.

MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
cgit ViewVC