add forgotten IFA_LOCK_INIT

This commit is contained in:
fjoe 2003-01-23 23:36:45 +00:00
parent 21c955a972
commit 33478b2ceb

View File

@ -141,6 +141,7 @@ ipx_control(so, cmd, data, ifp, td)
ipx_ifaddr = oia;
ia = oia;
ifa = (struct ifaddr *)ia;
IFA_LOCK_INIT(ifa);
TAILQ_INSERT_TAIL(&ifp->if_addrhead, ifa, ifa_link);
ia->ia_ifp = ifp;
ifa->ifa_addr = (struct sockaddr *)&ia->ia_addr;