opnsense-src/sys
Hans Petter Selasky eb008a6793 MFC 4e38478c59:
ipoib: Fix incorrectly computed IPOIB_CM_RX_SG value.

The computed IPOIB_CM_RX_SG is too small. It doesn't account for fallback
to mbuf clusters when jumbo frames are not available and it also doesn't
account for the packet header and trailer mbuf.

This causes a memory overwrite situation when IPOIB_CM is configured.

While at it add a kernel assert to ensure the mapping array is not overwritten.

PR:		254474
Sponsored by:	Mellanox Technologies // NVIDIA Networking

(cherry picked from commit 4e38478c59)
2021-04-01 11:19:42 +02:00
..
amd64 amd64: Make KPDPphys local to pmap.c 2021-03-31 09:16:11 -04:00
arm arm64: Add support for bcm2838 RNG 2021-03-20 11:12:13 +01:00
arm64 Rename linux_set_upcall_kse() to linux_set_upcall(). 2021-03-29 15:36:11 -07:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam cam: Don't permit crashdumps on non-pollable devices. 2021-03-22 13:37:38 -07:00
cddl Teach DTrace that unaligned accesses are OK on aarch64, not just x86. 2021-03-25 09:17:38 -04:00
compat Rename linux_set_upcall_kse() to linux_set_upcall(). 2021-03-29 15:36:11 -07:00
conf MFC ebe5cf355d: 2021-03-23 11:50:47 +01:00
contrib zfs: bring back possibility to rewind the checkpoint from 2021-03-18 22:10:59 +01:00
crypto armv8crypto: note derivation in armv8_crypto_wrap.c 2021-03-22 13:14:51 -03:00
ddb ddb: add ability to print user registers 2021-01-08 14:53:06 -04:00
dev MFC 31070b5bc7: 2021-04-01 11:13:10 +02:00
dts Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
fs fusefs: set d_off during VOP_READDIR 2021-03-21 02:00:33 +00:00
gdb gdb(4): allow bulk write of registers 2020-12-23 14:37:05 -04:00
geom gmirror: Pre-allocate the timeout event structure 2021-03-17 21:24:20 -04:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 Rename linux_set_upcall_kse() to linux_set_upcall(). 2021-03-29 15:36:11 -07:00
isa Move back the isa non-PNP driver deadline to FreeBSD 14. 2021-03-08 16:02:44 -07:00
kern Fix several dev_clone callbacks to avoid out-of-bounds reads 2021-03-31 09:15:58 -04:00
kgssapi State kgssapi dependency on xdr. 2020-09-17 22:29:38 +00:00
libkern random(9): Restore historical [0,2^31-1] output range and related man documention. 2021-03-25 17:57:02 +11:00
mips nlmrsa: Mark deprecated for 14. 2021-03-22 15:52:52 -07:00
modules Get rid of i386 ref here as linux64 is a 64-bit module. 2021-04-01 11:03:35 +03:00
net Put bandaid for nhgrp_dump_sysctl() malloc KASSERT(). 2021-03-30 07:36:04 +00:00
net80211 net80211: Fix a typo in a comment 2021-03-20 11:13:31 +01:00
netgraph netgraph/ng_car: Add color marking code 2021-02-26 13:29:39 +01:00
netinet Don't pass RFPROC to kproc_create(), it is redundant. 2021-03-29 11:10:49 -07:00
netinet6 Flush remaining routes from the routing table during VNET shutdown. 2021-03-13 20:19:17 +00:00
netipsec Convert unmapped mbufs before computing checksums in IPsec. 2021-01-19 11:52:00 -08:00
netpfil pfsync: Unconditionally push packets when requesting state updates 2021-03-31 15:09:08 +02:00
netsmb net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
nfs nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsclient nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed MFC 4e38478c59: 2021-04-01 11:19:42 +02:00
opencrypto opencrypto: Make cryptosoft attach silently 2021-03-12 12:21:09 -05:00
powerpc [PowerPC64] add mpr to GENERIC64 and GENERIC64LE 2021-03-09 21:09:49 -03:00
riscv riscv: fix errors in some atomic type aliases 2021-03-08 10:03:01 -04:00
rpc nfs-over-tls: handle res.gid.gid_val correctly for memory allocation 2021-01-12 13:59:52 -08:00
security close_range: add audit support 2021-03-17 22:22:48 +00:00
sys Set TDP_KTHREAD before calling cpu_fork() and cpu_copy_thread(). 2021-03-29 11:10:54 -07:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests Enable running fib tests inside vnet jail. 2021-01-17 20:32:26 +00:00
tools Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
ufs FFS extattr: fix handling of the tail 2021-03-04 21:07:25 +02:00
vm uma: allow uma_zfree_pcu(..., NULL) 2021-03-19 23:40:07 +01:00
x86 Rename _cscan_atomic.h and _cscan_bus.h to atomic_san.h and bus_san.h 2021-03-15 11:39:11 -04:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile