HomeFreeBSD

gve: Fix Tx tcpdump panic

Description

gve: Fix Tx tcpdump panic

Ringing the doorbell before making the BPF call can result in the
mbuf being freed before the BPF call.

Reviewed-by: markj
Differential Revision: https://reviews.freebsd.org/D41189

(cherry picked from commit 74861578d95573e13a2099143f9d4e7edbb82806)

Details

Provenance
shailend_google.comAuthored on Jul 27 2023, 5:22 AM
delphijCommitted on Aug 18 2023, 11:18 PM
Differential Revision
D41189: gve: Fix Tx tcpdump panic
Parents
rG06d98c3bf47e: gve: Unobfuscate code by using nitems directly for loop.
Branches
Unknown
Tags
Unknown