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

Bjoern A. Zeeb <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Bjoern A. Zeeb <[email protected]> ---
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 might
have happened and the reference to the mbuf is no longer valid.  The BPF_MTAP()
call needs to happen before dma is initiated so probably before
nicvf_tx_mbuf_locked() and not after.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to