diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-02-04 22:07:11 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-02-04 22:07:11 +0000 |
| commit | 5937e1cdc99180b4adae2cf20cabd75dd9f45546 (patch) | |
| tree | 61741d83b1b769cd941e130b76ad1072d5bd5701 /tools/regression/sockets/reconnect | |
| parent | e40817302ebdf89df2f3bcd679fb7f2a18c244dc (diff) | |
During packet processing the descriptor is looked up using epoch(9) and it
can be accessed after bpf_detachd(). In scenario of descriptor close the
tap point is alive (it actually produces packets) and thus the pointer can
be legitimately dereferenced. This fixes a race on a bpf(4) device close
that would otherwise result in panic.
Differential Revision: https://reviews.freebsd.org/D55064
Diffstat (limited to 'tools/regression/sockets/reconnect')
0 files changed, 0 insertions, 0 deletions
