CVS commit: src/sys/net/npf

"Emmanuel" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	joe
Date:		Sat Mar  7 17:34:14 UTC 2026

Modified Files:
	src/sys/net/npf: npf_socket.c

Log Message:
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.4 -r1.5 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.