NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/58531 CVS commit: [netbsd-10] src/sys/net



The following reply was made to PR kern/58531; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/58531 CVS commit: [netbsd-10] src/sys/net
Date: Sat, 21 Sep 2024 12:17:27 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sat Sep 21 12:17:27 UTC 2024
 
 Modified Files:
 	src/sys/net [netbsd-10]: if_tun.c
 
 Log Message:
 Pull up following revision(s) (requested by rin in ticket #899):
 
 	sys/net/if_tun.c: revision 1.177
 
 tun(4): Mark tunread_filtops `FILTEROP_MPSAFE`
 
 Filter handlers have already been MP-safe since 2018:
 https://mail-index.netbsd.org/source-changes/2018/08/06/msg097317.html
 
 Note that we do not expect deadlocks similar to bpf(4) (PR kern/58531),
 b/w KERNEL_LOCK and spin mutex for TX queue.
 
 For tun(4), filt_tunread() acquires adaptive mutex. This is forbidden
 when spin mutex is already held.
 
 Such a path must have already been detected if present.
 
 Thanks ozaki-r@ for discussion.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.173.4.2 -r1.173.4.3 src/sys/net/if_tun.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index