CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2016/08/31 02:13:17

Modified files:
        sys/net        : route.c 

Log message:
Do not flush RTF_CLONED children when adding a new route.

New RTF_CLONING routes don't have children, but the kernel might end up
removing routes from a compatible route.  This bug has been introduced
with the support for multiple RTF_CLONING routes.

Also make sure to release possible RTF_CACHED route *before* flushing
RTF_CLONED children when deleting a route.

KASSERT() reported by akfaew, sthen@ and martijn@

ok benno@

Reply via email to