[Bug 235097] ci runs panic with use-after-free when running sys/netpfil/pf/nat tests

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 26 15:40:19 UTC 2019


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

--- Comment #17 from Kristof Provost <kp at freebsd.org> ---
(In reply to Andrey V. Elsukov from comment #15)
> or while you keep the reference to if_addr, look at the history of recent changes to this code.

Ah, I think I see what you mean. There's a reference count as well.
However, do we increment the reference count for the if_addr pointer? I seem to
be overlooking that one in if_attach_internal().

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list