add forgotten IFA_LOCK_INIT

This commit is contained in:
Max Khon 2003-01-23 23:36:45 +00:00
parent 57f9e15a0e
commit 4abe79362a

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;