CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2019/11/07 04:46:42

Modified files:
        sys/net        : if_pfsync.c 

Log message:
remove the detach and linkstate hooks when the parent is going away.

i think this is a fix for a real bug. pfsync leaked the hooks it
had on a parent^Wsyncdev when the parent went away. now there's
KASSERTs to make sure all hooks are removed before an interface
goes away, the leak caused the KASSERTs to fire and made the bug
obvious.

found by hrvoje popovski

Reply via email to