[Bug 275169] Panic: rw_rlock: wlock already held for tcpinp @ /usr/src/sys/netinet/in_pcb.c:2529
Date: Mon, 20 Nov 2023 18:10:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275169 Mark Johnston <markj@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org Status|New |Open --- Comment #11 from Mark Johnston <markj@FreeBSD.org> --- I'm fairly sure the problem isn't fixed in 14.0. tcp_output() and ip_output() may transmit a packet while holding the inpcb lock, and the pfil hook in ether_output_frame() doesn't know this, so when ipfw does a jail/user/group match, it tries to look up the inpcb and re-locks it, resulting in recursion. Actually, I am a bit surprised that TCP/IP layers hold onto the PCB lock while calling into lower layers. -- You are receiving this mail because: You are the assignee for the bug.