CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2021/03/26 16:40:08

Modified files:
        sys/net        : rtsock.c 

Log message:
Push kernel lock down to rt_setsource() to make `ifa' dereference safe.
Netlock doesn't make sense here because ifa_ifwithaddr() holds kernel
lock while performs lists walkthrough.

This was made to decrease the future diff for PF_ROUTE sockets
unlocking. This time kernel lock is still held while we perform
rt_setsource().

ok mpi@

Reply via email to