HomeFreeBSD

Avoid possible recursion on BPF_LOCK() in bpfwrite().

Description

Avoid possible recursion on BPF_LOCK() in bpfwrite().

Release BPF_LOCK() before invoking if_output() and if_input().
Also enter epoch section before releasing lock, this should prevent
access to ifnet that may be freed on interface detach.

Reported by: markj

Details

Provenance
aeAuthored on
Parents
rS347548: fusefs: commit missing file from r347547
Branches
Unknown
Tags
Unknown