add forgotten IFA_LOCK_INIT
This commit is contained in:
parent
57f9e15a0e
commit
4abe79362a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user