https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283426

--- Comment #15 from takahiro.kuros...@gmail.com ---
Created attachment 259236
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259236&action=edit
testcase to reproduce the similar panic

I've been able to reproduce a similar panic with the attached patch
for /usr/tests/sys/net/if_ovpn/if_ovpn.
The testcase uses a broadcast packet for the openvpn port
that needs m_copym() calls to deliver it to each socket.
m_copym() increases reference counts of mbuf clusters that results
in m_unshare() returning a new mbuf and dropping M_PKTHDR of the
original mbuf.

To reproduce the panic:

----
cd /usr/tests/sys/net
cp -pr if_ovpn if_ovpn.283426
cd if_ovpn.283426
patch -p1 < /path/to/repro-283426.diff
kldload if_epair if_bridge if_ovpn
sync; sync; sync
kyua debug if_ovpn:bz283426
----

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

Reply via email to