mirror of
https://github.com/opnsense/src.git
synced 2026-03-10 02:01:51 -04:00
bpfattach() is called in wg_clone_create(), but the bpfdetach() is missing from wg_close_destroy(). Add the missing bpfdetach() to avoid leaking both the associated bpf bits as well as the ifnet that bpf will hold a reference to. PR: 276526 (cherry picked from commit 43be2d7aaf25b719aec8f49aab110c0061f1edec) |
||
|---|---|---|
| .. | ||
| compat.h | ||
| crypto.h | ||
| if_wg.c | ||
| if_wg.h | ||
| version.h | ||
| wg_cookie.c | ||
| wg_cookie.h | ||
| wg_crypto.c | ||
| wg_noise.c | ||
| wg_noise.h | ||