Date: Fri, 10 Nov 2017 21:58:15 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 223600] vnic: kernel panic when running tcpdump Message-ID: <bug-223600-8-lJjhuWjfrZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-223600-8@https.bugs.freebsd.org/bugzilla/> References: <bug-223600-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223600 Bjoern A. Zeeb <bz@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org --- Comment #1 from Bjoern A. Zeeb <bz@FreeBSD.org> --- Looking at nicvf_xmit_locked() it seems the mbuf is passed to bufdma and the ring is advanced and only then a copy is sent to BPF. By that time DMA mig= ht have happened and the reference to the mbuf is no longer valid. The BPF_MT= AP() call needs to happen before dma is initiated so probably before nicvf_tx_mbuf_locked() and not after. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223600-8-lJjhuWjfrZ>