CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/07/16 11:39:02
Modified files:
sys/conf : param.c
sys/kern : kern_sysctl.c uipc_mbuf.c
sys/sys : mbuf.h
usr.bin/netstat: mbuf.c
Log message:
Prevent integer overflow in kernel and userland when checking mbuf
limits. Convert kernel variables and calculations for mbuf memory
into long to allow larger values on 64 bit machines. Put a range
check into the kernel sysctl. For the interface itself int is still
sufficient. In netstat -m cast all multiplications to unsigned
long to hold the product of two unsigned int.
input and OK visa@