CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2015/08/17 03:46:26

Modified files:
        sys/net        : route.c rtsock.c 

Log message:
Convert two rt->rt_refcnt-- into rtfree(9) making sure the route entry
is freed when we no longer need it.

In this case both code paths are executed in process context and thus
serialized by the KERNEL_LOCK.  Since we are adding a route entry to
the table in both cases, rtfree(9) will not actually free the entry
because it is still RT_VALID.

ok bluhm@

Reply via email to