CVSROOT:        /cvs
Module name:    src
Changes by:    2022/02/14 21:16:11

Modified files:
        sys/net        : if_tun.c 

Log message:
make tun_link_state take the ifnet pointer instead of tun_softc.

it only works on struct ifnet data, so passing ifp makes it clearer
what's actually being manipulated. also fix tun_dev_open so
tun_link_state is called before if_put instead of immediately after.

Reply via email to