CVSROOT:        /cvs
Module name:    src
Changes by:     r...@cvs.openbsd.org    2016/01/25 03:39:20

Modified files:
        sys/dev/pci    : if_vmx.c 

Log message:
In vmxnet3_start(), do not send the mbuf to bpf after passing it to
the hardware.  This could have resulted in a page fault when the mbuf
has already been freed by the TX interrupt handler on another CPU.

This has the slight drawback that bpf can be called before the packet
is eventually dropped by vmxnet3_load_mbuf() - but I'm getting this
simple and verified fix in before doing further optimizations on the
start handler.

As discussed with mikeb@ jsg@ dlg@

Reply via email to