opnsense-src/sys
Randall Stewart d0eaf95edc tcp: Missing mfree in rack and bbr
Recently (Nov) we added logic that protects against a peer negotiating a timestamp, and
then not including a timestamp. This involved in the input path doing a goto done_with_input
label. Now I suspect the code was cribbed from one in Rack that has to do with the SYN.
This had a bug, i.e. it should have a m_freem(m) before going to the label (bbr had this
missing m_freem() but rack did not). This then caused the missing m_freem to show
up in both BBR and Rack. Also looking at the code referencing m->m_pkthdr.lro_nsegs
later (after processing) is not a good idea, even though its only for logging. Best to
copy that off before any frees can take place.

Reviewed by: mtuexen
Sponsored by: Netflix Inc
Differential Revision:	https://reviews.freebsd.org/D30727

(cherry picked from commit ba1b3e48f5)
2021-06-14 23:00:17 +02:00
..
amd64 Create VM_MEMATTR_DEVICE on all architectures 2021-06-13 16:49:36 +01:00
arm arm: Remove last_fault_code 2021-06-14 16:25:15 -04:00
arm64 arm64: Fix pmap_copy()'s handling of 2MB mappings 2021-06-14 16:25:15 -04:00
bsm
cam Introduce "soft" serseq variant. 2021-05-05 23:18:38 -04:00
cddl fbt: Remove some handling for multiple CTF containers 2021-04-15 21:27:24 -04:00
compat linuxkpi: Add list_for_each_entry_lockless() macro 2021-06-14 12:05:39 -07:00
conf pf: Introduce nvlist variant of DIOCADDRULE 2021-05-07 10:15:41 +02:00
contrib ngatm: Handle errors from uni_msg_extend() 2021-06-14 16:25:14 -04:00
crypto armv8crypto: note derivation in armv8_crypto_wrap.c 2021-03-22 13:14:51 -03:00
ddb ddb: replace watchpoint set/clear functions 2021-04-21 10:20:33 -03:00
dev Suppress D_NEEDGIANT warnings for some drivers 2021-06-14 16:25:14 -04:00
dts
fs nfscl: Use hash lists to improve expected search performance for opens 2021-06-11 18:21:03 -07:00
gdb gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
geom gmirror: Pre-allocate the timeout event structure 2021-03-17 21:24:20 -04:00
gnu
i386 Create VM_MEMATTR_DEVICE on all architectures 2021-06-13 16:49:36 +01:00
isa Remove more remnants of sio(4) 2021-04-14 09:19:49 -04:00
kern Fix handling of D_GIANTOK 2021-06-14 16:25:15 -04:00
kgssapi
libkern Use '.arch_extension crc' in the arm64 crc32 code 2021-06-12 02:21:54 +01:00
mips Create VM_MEMATTR_DEVICE on all architectures 2021-06-13 16:49:36 +01:00
modules zfs: merge openzfs/zfs@c3b60eded (zfs-2.1-release) into stable/13 2021-06-13 05:43:03 +02:00
net This pulls over all the changes that are in the netflix 2021-06-08 01:18:32 +02:00
net80211 net80211: Fix a typo in a comment 2021-03-20 11:13:31 +01:00
netgraph netgraph/ng_base: Renaming a node to the same name is a noop 2021-06-10 11:29:34 +02:00
netinet tcp: Missing mfree in rack and bbr 2021-06-14 23:00:17 +02:00
netinet6 mend 2021-06-07 11:01:28 +02:00
netipsec Add missing sockaddr length and family validation to various protocols 2021-05-17 13:43:07 -04:00
netpfil pf: Convenience function for optional (numeric) arguments 2021-06-14 18:14:23 +02:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-06-02 09:34:47 -04:00
nfs
nfsclient
nfsserver
nlm
ofed Add missing sockaddr length and family validation to various protocols 2021-05-17 13:43:07 -04:00
opencrypto cryptodev: Fix some input validation bugs 2021-05-14 09:58:54 -04:00
powerpc Create VM_MEMATTR_DEVICE on all architectures 2021-06-13 16:49:36 +01:00
riscv riscv: Rename pmap_fault_fixup() to pmap_fault() 2021-06-14 16:25:15 -04:00
rpc rpcsec_gss: Use a designated initializer for rpc_gss_ops 2021-06-02 09:34:41 -04:00
security close_range: add audit support 2021-03-17 22:22:48 +00:00
sys tcp: LRO timestamps have lost their previous precision 2021-06-14 22:49:27 +02:00
teken
tests
tools makesyscalls.lua: improve generated file style(9) compliance 2021-05-19 20:31:54 -04:00
ufs ffs: Correct the input size check in sysctl_ffs_fsck() 2021-06-06 21:03:49 -04:00
vm vm: add another pager private flag 2021-05-22 18:28:29 +00:00
x86 Disable x2APIC for SandyBridge laptops with Samsung BIOS 2021-06-10 03:47:50 +03:00
xdr
xen
Makefile