[Bug 275169] Panic: rw_rlock: wlock already held for tcpinp @ /usr/src/sys/netinet/in_pcb.c:2529

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 21 Nov 2023 11:01:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275169

--- Comment #19 from Dani I. <i.dani@outlook.com> ---
Basically a simple setup like this should be enough:
Host 1:
 pkg install thttpd
 mkdir /webdata
 chown root:www /webdata
 curl
https://download.freebsd.org/ftp/releases/amd64/amd64/13.2-RELEASE/kernel.txz
--output /webdata/kernel.txz

 /etc/rc.conf:
  thttpd_enable="YES"
  thttpd_flags="-d /webdata-r -u www -l /dev/null -h 10.1.1.20"

 "basic" ipfw ruleset with default deny / allow any:
  ipfw add 1000 allow tcp from any to 10.1.1.20 80 keep-state

Host 2 (the one that freezes):
 "basic" ipfw ruleset with default deny / allow any:
  ipfw add 1000 allow ip from me to 10.1.1.20/32 uid 0

 while true; do curl http://10.1.1.20/kernel.txz --output /dev/null; done

Just to mention it again: We only experience the issue with this setup on
PHYSICAL hosts (HW-Info see:
https://bz-attachments.freebsd.org/attachment.cgi?id=246391). We do not have
this issue with virtual machines running @ OpenStack and using the vtnet
driver.

-- 
You are receiving this mail because:
You are the assignee for the bug.