CVS commit: [netbsd-11] src/sys/net/npf

"Martin Husemann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	martin
Date:		Thu Apr  2 16:15:33 UTC 2026

Modified Files:
	src/sys/net/npf [netbsd-11]: npf_socket.c

Log Message:
Pull up following revision(s) (requested by joe in ticket #213):

	sys/net/npf/npf_socket.c: revision 1.5

ensure softnet lock is held rather re-locking

If we are about to interact with sockets
we should just ensure that the softnet_lock is held.

Because sockets initializations acquire that lock.
fixes PR kern/60060


To generate a diff of this commit:
cvs rdiff -u -r1.3.2.1 -r1.3.2.2 src/sys/net/npf/npf_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
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.