created | 2023-11-19T08:13:13Z |
---|---|
begin | 2023-11-12T00:00:00Z |
end | 2023-11-13T00:00:00Z |
path | src/sys |
commits | 9 |
date | 2023-11-12T12:41:43Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/fanpwr.c | log | diff | annotate |
message |
Add support for the Rockchip RK8602 and RK8603 voltage regulators. ok dlg@ |
date | 2023-11-12T15:42:05Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/route.c | log | diff | annotate |
message |
rt_setgate performs a series of tweaks to an rtable and the routes in the rtable which should be serialised to ensure they're consistent. unfortunately, rt_setgate is called from the network stack while it's only holding shared NET_LOCK. this uses the [X] protections as described in route.h to serialise the changes, and reworks the code to try and keep enough stuff linked up properly during the changes that it will still work if another cpu is still using the rtentry structs while they still have shared net lock. tested by and ok bluhm@ |
date | 2023-11-12T15:42:54Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/route.h | log | diff | annotate |
message |
rt_gateway and rt_gwroute use X protections now. pointed out by bluhm@ |
date | 2023-11-12T16:10:46Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/rtsock.c | log | diff | annotate |
message |
Do not modify route info sockaddr in rtm_xaddrs(). The rti_info array is used to describe routes that should be found by lookup. Modifying the addreses in it is not a good idea. There were places where rtm_xaddrs() tried to fix the address family instead of validating it. Replace the modification with a check and error out with EAFNOSUPPORT on failure. Route labels always have AF_UNSPEC and the other types are not used anyway. OK kn@ |
date | 2023-11-12T16:37:28Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/armv7/include/vmparam.h | log | diff | annotate |
message |
Bump MAXDSIZ to 2G on armv7. Needed for llvm-16. ok deraadt@ |
date | 2023-11-12T17:51:40Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/if_dl.h | log | diff | annotate |
src/sys/net/route.c | log | diff | annotate | |
src/sys/net/route.h | log | diff | annotate | |
src/sys/net/rtable.c | log | diff | annotate | |
message |
Use constant sockaddr in route lookup. In rtalloc() and rtalloc_mpath() declare the parameter dst as const sockaddr. This makes MP safe route lookup easier as the destination address is definitely not modified during the operation. Array rti_info, the central data structure with addresses for route matching, contains constant sockaddr now. OK mvs@ dlg@ |
date | 2023-11-12T17:51:41Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/rtable.h | log | diff | annotate |
src/sys/net/rtsock.c | log | diff | annotate | |
message |
Use constant sockaddr in route lookup. In rtalloc() and rtalloc_mpath() declare the parameter dst as const sockaddr. This makes MP safe route lookup easier as the destination address is definitely not modified during the operation. Array rti_info, the central data structure with addresses for route matching, contains constant sockaddr now. OK mvs@ dlg@ |
date | 2023-11-12T23:19:14Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/in_pcb.c | log | diff | annotate |
message |
Declare global variable zeroin46_addr as const. OK mvs@ jca@ |
date | 2023-11-12T23:19:15Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/in_pcb.h | log | diff | annotate |
message |
Declare global variable zeroin46_addr as const. OK mvs@ jca@ |