freebsd-skq/sys
markj b1bab99c84 Correct the condition under which we allocate a terminator node.
We will have last_block < blocks if the block count is divisible
by BLIST_BMAP_RADIX, but a terminator node is still needed if the
tree isn't balanced.  In this case we were overruning the blist
array by 16 bytes during initialization.

While here, add a check for the invalid blocks == 0 case.

PR:		231116
Reviewed by:	alc, kib (previous version), Doug Moore <dougm@rice.edu>
Approved by:	re (gjb)
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D17020
2018-09-05 19:05:30 +00:00
..
amd64 amd64: Properly re-merge r334537 into SMAP-ified copyin(9) and copyout(9). 2018-09-04 19:27:53 +00:00
arm omap4_prcm: Delay the frequencies read check 2018-08-30 14:32:47 +00:00
arm64 Catch exceptions during EFI RT calls on amd64. 2018-09-02 21:37:05 +00:00
bsm
cam Try harder in cfiscsi_offline(). This is believed to be the workaround 2018-09-01 16:16:40 +00:00
cddl Add support for 'C'-compressed ISA extension to DTrace FBT provider. 2018-09-03 14:34:09 +00:00
compat Regen after r338357. 2018-08-28 18:50:34 +00:00
conf Enable 'C'-compressed ISA extension. 2018-09-03 14:43:16 +00:00
contrib Revert drm2 removal. 2018-08-24 00:02:00 +00:00
crypto Don't load ccp automatically with devmatch 2018-08-31 01:01:16 +00:00
ddb
dev Assign to correct structure members. 2018-09-04 19:28:46 +00:00
dts arm64: Add DTS overlays for A64 2018-08-24 15:00:36 +00:00
fs Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
gdb
geom
gnu dts: Import DTS for arm64 2018-08-23 13:21:01 +00:00
i386 Remove {max/min}_offset() macros, use vm_map_{max/min}() inlines. 2018-08-29 12:24:19 +00:00
isa
kern Correct the condition under which we allocate a terminator node. 2018-09-05 19:05:30 +00:00
kgssapi
libkern
mips Remove {max/min}_offset() macros, use vm_map_{max/min}() inlines. 2018-08-29 12:24:19 +00:00
modules Catch exceptions during EFI RT calls on amd64. 2018-09-02 21:37:05 +00:00
net Rather than duplicating the functionality of a macro after r322866 2018-09-03 22:10:49 +00:00
net80211
netgraph Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
netinet Fix style bugs in in_pcblookup_lbgroup(). 2018-09-05 15:04:11 +00:00
netinet6 Replicate r328271 from legacy IP to IPv6 using a single macro 2018-09-03 22:27:27 +00:00
netipsec
netpfil Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Eliminate the arena parameter to kmem_free(). Implicitly this corrects an 2018-08-25 19:38:08 +00:00
riscv Permit supervisor to access user VA space for certain functions only. 2018-09-05 11:34:58 +00:00
rpc
security The kernel DTrace audit provider (dtaudit) relies on auditd(8) to load 2018-09-03 14:26:43 +00:00
sparc64 Prepare the kernel linker to handle PC-relative ifunc relocations. 2018-08-22 20:44:30 +00:00
sys Catch exceptions during EFI RT calls on amd64. 2018-09-02 21:37:05 +00:00
teken
tests
tools make_dtb: Always add root directory in the include path 2018-08-23 13:23:21 +00:00
ufs Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
vm Recent changes have created, for the first time, physical memory segments 2018-09-02 18:29:38 +00:00
x86 Fix build of x86 UP kernels after dynamic IRQ changes in r338360. 2018-08-31 18:26:37 +00:00
xdr
xen
Makefile