[Bug 283426] panic in sbappendaddr_locked() - if_ovpn related?

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283426

--- Comment #15 from [email protected] ---
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.
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.