freebsd-dev/sys
Mark Johnston 18628b74bd Clamp IFLIB_RX_COPY_THRESH to MHLEN in iflib_rxd_pkt_get().
If one has added fields to struct mbuf such that MHLEN is smaller than
this threshold (128), iflib_rxd_pkt_get() may otherwise overrun the
internal mbuf buffer while copying.

Reviewed by:	mmacy
MFC after:	3 days
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D14843
2018-03-25 23:23:19 +00:00
..
amd64 Improve the lcall $7,$0 syscall emulation on amd64. 2018-03-24 12:57:58 +00:00
arm Add dtb overlays support 2018-03-24 21:30:24 +00:00
arm64 Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
bsm
cam Flag when we have a pending TUR. Don't schedule another one when we 2018-03-23 16:23:15 +00:00
cddl zfs: fix mismatch between format specifier and type 2018-03-23 09:42:47 +00:00
compat linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
conf Add VMCI (Virtual Machine Communication Interface) driver 2018-03-25 00:57:00 +00:00
contrib Exit krping on device removal to avoid endless hang situation. 2018-03-23 17:03:42 +00:00
crypto The PNP info has to follow the module definition. Move it from just 2018-03-25 16:56:49 +00:00
ddb db_script_exec: use a saved script name when reporting commands executed 2018-03-04 13:27:21 +00:00
dev Remove redundant prototype to fix compilation with GCC. 2018-03-25 08:55:53 +00:00
dts Add dtb overlays support 2018-03-24 21:30:24 +00:00
fs Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +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 When freeing a superblock returned by ffs_sbget, be sure to also 2018-03-24 15:36:25 +00:00
gnu bwn(4): txpid2g/txpid5g[lh] are not defined after sromrev 7; the default 2018-02-13 17:43:54 +00:00
i386 Remove redundant cast from Linuxulator SYSINITs 2018-03-23 20:32:54 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern Use LIST_FOREACH_SAFE in sleepq_chains_remove_matching(). 2018-03-25 20:12:14 +00:00
kgssapi kgssapi: Remove trivial deadcode 2018-02-14 00:12:03 +00:00
libkern iconv uses strlen directly on user supplied memory 2018-02-26 18:23:36 +00:00
mips Move remaining EF_MIPS_* flags to <sys/elf_common.h>. 2018-03-23 19:31:52 +00:00
modules Add VMCI (Virtual Machine Communication Interface) driver 2018-03-25 00:57:00 +00:00
net Clamp IFLIB_RX_COPY_THRESH to MHLEN in iflib_rxd_pkt_get(). 2018-03-25 23:23:19 +00:00
net80211 net80211: wrap protection frame allocation into ieee80211_alloc_prot() 2018-03-09 11:33:56 +00:00
netgraph Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
netinet Make the TCP blackbox code committed in r331347 be an optional feature 2018-03-24 12:48:10 +00:00
netinet6 This change adds a flag to the DAD entry to indicate whether it is 2018-03-24 13:18:09 +00:00
netipsec Set the proper vnet in IPsec callback functions. 2018-03-20 17:05:23 +00:00
netpfil netpfil: Introduce PFIL_FWD flag 2018-03-23 16:56:44 +00:00
netsmb Unsign some values related to allocation. 2018-01-22 02:08:10 +00:00
nfs Modernize nfssvc(2) registartion. 2018-02-08 20:09:42 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Remove redundant integer cast in ibcore. The "ref_count" field already 2018-03-19 13:51:33 +00:00
opencrypto Import Blake2 algorithms (blake2b, blake2s) from libb2 2018-03-21 16:18:14 +00:00
powerpc Debug interrupts aren't instruction traps 2018-03-23 00:40:08 +00:00
riscv Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
rpc Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
security audit(4): fix a typo in a comment 2018-03-17 17:56:08 +00:00
sparc64 Mark psycho interrupts as MPSAFE. It's safe to do so now that we don't 2018-03-21 14:47:17 +00:00
sys Account the size of the vslock-ed memory by the thread. 2018-03-24 13:51:27 +00:00
teken
tests
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
vm Account the size of the vslock-ed memory by the thread. 2018-03-24 13:51:27 +00:00
x86 Add a workaround to the hypervisor detection for older versions of KVM. 2018-03-23 22:36:24 +00:00
xdr
xen
Makefile