HomeFreeBSD

Accessing an mbuf after it has been handed off to the hardware is a bad
rS204271Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Accessing an mbuf after it has been handed off to the hardware is a bad
race as it could already have been tx'd and freed by that time. Place
the bpf tap just _before_ writing the gen bit.

This fixes a panic when running tcpdump on a cxgb interface.

Details

Provenance
npAuthored on
Parents
rS204270: Add the ability to set SMU-based machines to restart automatically after
Branches
Unknown
Tags
Unknown

Event Timeline