diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netipx/ipx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netipx/ipx.c b/sys/netipx/ipx.c index 6d2be1a..3583670 100644 --- a/sys/netipx/ipx.c +++ b/sys/netipx/ipx.c @@ -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; |