opnsense-src/sys
David Bright 3420c04b44 CID 1009492: Logically dead code in sys/cam/scsi/scsi_xpt.c
In `probedone()`, for the `PROBE_REPORT_LUNS` case, all paths that
fall to the bottom of the case set `lp` to `NULL`, so the test for a
non-NULL value of `lp` and call to `free()` if true is dead code as
the test can never be true. Fix by eliminating the whole if
statement. To guard against a possible future change that accidentally
violates this assumption, use a `KASSERT()` to catch if `lp` is
non-NULL.

Reviewed by:	cem
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D19109
2019-02-11 22:09:26 +00:00
..
amd64 Implement Address Space Layout Randomization (ASLR) 2019-02-10 17:19:45 +00:00
arm Add sensors support for AXP803/AXP813. Sensor values such as 2019-02-11 14:31:19 +00:00
arm64 arm64: Fix compile when removing SOC_ROCKCHIP_* options 2019-02-10 08:14:06 +00:00
bsm Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cam CID 1009492: Logically dead code in sys/cam/scsi/scsi_xpt.c 2019-02-11 22:09:26 +00:00
cddl s/Maximal/Maximum/ in sysctl description. 2019-02-04 20:09:22 +00:00
compat Implement Address Space Layout Randomization (ASLR) 2019-02-10 17:19:45 +00:00
conf Fix flags used when compiling kern_kcov.c and subr_coverage.c. 2019-02-11 15:38:05 +00:00
contrib libnv: fix memory leaks 2019-02-10 23:30:54 +00:00
crypto Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
ddb ddb: Print the thread's pcb in 'show thread' 2019-02-09 21:08:19 +00:00
dev Enable PCI BAR reallocation by default. 2019-02-11 20:47:09 +00:00
dts Adapt FreeBSD specific DT stub for Jetson TK1 board to be consistent with 2019-02-06 06:03:44 +00:00
fs Un null_vptocnp(), cache vp->v_mount and use it for null_nodeget() call. 2019-02-08 08:20:18 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom geom_uzip(4): set 'gp != NULL' assertion on top of the function 2019-01-26 17:17:25 +00:00
gnu Import DTS from Linux 4.20 2019-01-11 09:40:34 +00:00
i386 Implement Address Space Layout Randomization (ASLR) 2019-02-10 17:19:45 +00:00
isa Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
kern Prevent overflow for usertime/systime in caclru1 2019-02-10 23:07:46 +00:00
kgssapi OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Performance improvements for octe(4): 2019-02-10 20:13:59 +00:00
modules arm64: dtb: allwinner: Add the new pine64-lts dtb file to the build 2019-02-07 18:07:17 +00:00
net Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
net80211 net80211(4): hide casts for 'i_seq' field offset calculation inside 2019-02-10 23:58:56 +00:00
netgraph Remove remnants of byte order manipulation, back when FreeBSD stack 2019-02-09 03:00:00 +00:00
netinet Fix a locking issue when reporing outbount messages. 2019-02-10 14:02:14 +00:00
netinet6 New pfil(9) KPI together with newborn pfil API and control utility. 2019-01-31 23:01:03 +00:00
netipsec Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
netpfil Remove `set' field from state structure and use set from parent rule. 2019-02-11 18:10:55 +00:00
netsmb Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
nfs Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
opencrypto As struct cryptop is wrapped in #ifdef _KERNEL, userland doesn't 2019-02-10 21:27:03 +00:00
powerpc powerpc: Clamp MAXCPU for MPC85XXSPE kernel to 2 2019-02-10 20:21:20 +00:00
riscv riscv: default to non-executable stack 2019-02-06 19:22:15 +00:00
rpc Add kern.rpc.gss.client_max, to make it possible to bump it easily. 2018-12-15 11:32:11 +00:00
security Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
sparc64 Make iflib a loadable module. 2019-01-31 19:05:56 +00:00
sys Implement Address Space Layout Randomization (ASLR) 2019-02-10 17:19:45 +00:00
teken My recent fix for programmable function keys in syscons only worked 2019-02-05 16:59:29 +00:00
tests Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
tools make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH 2018-12-14 23:53:28 +00:00
ufs This bug was introduced with the change to use softdep_bp_to_mp() in 2019-01-28 21:36:45 +00:00
vm struct xswdev on amd64 requires compat32 shims after ino64. 2019-02-10 19:01:05 +00:00
x86 Port sysctl kern.elf32.read_exec from amd64 to i386. 2019-02-07 02:17:34 +00:00
xdr sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
xen xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
Makefile Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00