CVS: cvs.openbsd.org: src

Alexander Bluhm <[email protected]>
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/07/16 06:21:40

Modified files:
	sys/netinet    : igmp.c ip_input.c ip_mroute.c ip_output.c 
	                 ip_var.h raw_ip.c 

Log message:
Make IP multicast router global variable MP safe.

Use a multicast router rwlock to protect the mrt_mrouter array.
Since we support one router per route table, also implement an API
version per router.  Sockets in mrt_mrouter are reference counted.
Fix the name space a bit by using mrt_ prefix consistently.  Keep
existing netlock and kernel lock until fine grained locking has
been finished.

OK claudio@
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.