OpenBSD cvs log

created 2023-12-12T07:20:00Z
begin 2023-12-06T00:00:00Z
end 2023-12-07T00:00:00Z
path src/sys
commits 2

date 2023-12-06T06:15:33Z
author miod
files src/sys/arch/alpha/alpha/locore.s log diff annotate
src/sys/arch/alpha/include/asm.h log diff annotate
message Move CALLSYS_NOERROR macro from <machine/asm.h> to libc, and expand it for
non-libc users. This is a two-liner macro anyway, and this will make
deraadt@'s future changes in this area easier to make. NFC

date 2023-12-06T09:27:17Z
author bluhm
files src/sys/netinet/ip_mroute.c log diff annotate
src/sys/netinet6/ip6_mroute.c log diff annotate
message Protect socket receive buffer in IP multicast routing.

Since soreceive() runs in parallel for raw sockets, sbappendaddr()
has to be protected by inpcb mutex. This was missing in multicast
forwarding which is running with a combination of shared net lock
and kernel lock. soreceive() uses shared net lock and mutex per
inpcb. Grab mutex before sbappendaddr() in socket_send() and
socket6_send().

panic receive 1 reported by Jo Geraerts
OK mvs@ claudio@