opnsense-src/sys
Richard Scheffenegger ffbf1b809e Address two incorrect calculations and enhance readability of PRR code
- address second instance of cwnd potentially becoming zero
- fix sublte bug due to implicit int to uint typecase in max()
- fix bug due to typo in hand-coded CEILING() function by using howmany() macro
- use int instead of long, and add a missing long typecast
- replace if conditionals with easier to read imax/imin (as in pseudocode)

Reviewed By: #transport, kbowling
MFC after: 3 days
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D28813

(cherry picked from commit 48396dc779)
2021-02-28 09:07:54 +01:00
..
amd64 linux: Unmap the VDSO page when unloading 2021-02-22 20:29:55 -05:00
arm arm64: rpi4: gpio: Add brcm,bcm2711-gpio compatible 2021-02-20 20:17:44 +01:00
arm64 arm64: Include NUMA locality info in the CPU topology 2021-02-25 08:57:08 -05:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam Exclude reserved iSCSI Target Transfer Tag. 2021-02-22 19:31:52 -05:00
cddl Reimplemen FreeBSD/arm64 dtrace_gethrtime() to use the system timer. 2021-02-25 21:38:30 +00:00
compat linux: Unmap the VDSO page when unloading 2021-02-22 20:29:55 -05:00
conf Delete dead CLUSTERDEBUG config option. 2021-02-28 02:42:35 +02:00
contrib zfs: restore FreeBSD resource usage accounting 2021-02-22 22:20:28 +01:00
crypto OpenSSL: Regen assembly files for OpenSSL 1.1.1j 2021-02-17 00:37:16 -05:00
ddb ddb: add ability to print user registers 2021-01-08 14:53:06 -04:00
dev cxgb(4): Rework my commit 9dc7c250. 2021-02-24 20:40:29 -05:00
dts Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
fs nfsserver: use VOP_VPUT_PAIR(). 2021-02-24 09:44:24 +02:00
gdb gdb(4): allow bulk write of registers 2020-12-23 14:37:05 -04:00
geom geom(4): make g_newprovider_event() return if G_P_WITHER is set 2020-12-29 14:29:59 +00:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 linux: Update the i386/linux vdso deinitialization routine 2021-02-22 20:30:01 -05:00
isa
kern Delete dead CLUSTERDEBUG config option. 2021-02-28 02:42:35 +02:00
kgssapi
libkern Revert "Reimplement strlen" 2021-02-03 19:39:49 +00:00
mips MFC: mips: fix early kernel panic when setting up interrupt counters 2021-02-02 21:06:37 -08:00
modules netgraph/ng_vlan_rotate: IEEE 802.1ad VLAN manipulation netgraph type 2021-02-25 09:04:24 +01:00
net iflib: Avoid double counting in rxeof 2021-02-27 11:07:46 -05:00
net80211
netgraph netgraph/ng_car: Add color marking code 2021-02-26 13:29:39 +01:00
netinet Address two incorrect calculations and enhance readability of PRR code 2021-02-28 09:07:54 +01:00
netinet6 Fix crash with rtadv-originated multipath IPv6 routes. 2021-02-25 21:43:37 +00:00
netipsec Convert unmapped mbufs before computing checksums in IPsec. 2021-01-19 11:52:00 -08:00
netpfil pf: Assert that pfil_link() calls succeed 2021-02-24 09:03:56 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed 504ebd612e: kern: sonewconn: set so_options before pru_attach() 2021-02-23 22:48:42 -06:00
opencrypto ktls: Use COUNTER_U64_DEFINE_EARLY 2021-02-15 14:13:28 -05:00
powerpc [POWERPC64LE] add mrsas to GENERIC64LE 2021-02-15 14:34:28 -03:00
riscv riscv: add SBI system reset extension 2021-02-04 12:17:31 -04:00
rpc nfs-over-tls: handle res.gid.gid_val correctly for memory allocation 2021-01-12 13:59:52 -08:00
security Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
sys lockf: ensure atomicity of lockf for open(O_CREAT|O_EXCL|O_EXLOCK) 2021-02-24 09:50:27 +02: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 Fix bug 253158 - Panic: snapacct_ufs2: bad block - mksnap_ffs(8) crash 2021-02-25 14:56:20 +02:00
vm vm_kern: Avoid sign extension in the KVA_QUANTUM definition 2021-02-25 08:56:54 -05:00
x86 mca: Handle inconsistent CMCI capability reporting 2021-02-15 14:12:41 -05:00
xdr
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile