created | 2024-12-29T15:14:19Z |
---|---|
begin | 2024-12-26T02:46:38Z |
end | 2024-12-26T10:15:27Z |
path | src/sys |
commits | 1 |
date | 2024-12-26T10:15:27Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/pf.c | log | diff | annotate |
src/sys/net/pf_syncookies.c | log | diff | annotate | |
src/sys/net/pfvar.h | log | diff | annotate | |
src/sys/netinet/tcp_subr.c | log | diff | annotate | |
src/sys/netinet/tcp_var.h | log | diff | annotate | |
message |
Make access to tcp_mssdflt atomic. To further unlock TCP sysctl, we need atomic access to tcp_mssdflt. pf(4) is reading the value multiple times. Better read it once and pass mssdflt down the call stack. In pf_calc_mss() was a potential integer underflow. Use the signed variant imax(9) and imin(9) like it has been fixed it in TCP stack. OK mvs@ |