https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276526

--- Comment #4 from commit-h...@freebsd.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=c0c932b27f9551742daa84b02967f3021fbfef52

commit c0c932b27f9551742daa84b02967f3021fbfef52
Author:     Aaron LI <a...@aaronly.me>
AuthorDate: 2024-01-22 16:18:56 +0000
Commit:     Kyle Evans <kev...@freebsd.org>
CommitDate: 2024-01-30 05:37:36 +0000

    wg: detach bpf upon destroy as well

    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)

 sys/dev/wg/if_wg.c | 1 +
 1 file changed, 1 insertion(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to