diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-01-23 23:36:45 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-01-23 23:36:45 +0000 |
commit | 33478b2ceb878dac5d2cf77dde41aee4bb219554 (patch) | |
tree | fd0228746451450d171182c580db624545b49f13 /sys/netipx | |
parent | 21c955a9721a43c8e35a6c70347591ce0a90b4bd (diff) | |
download | FreeBSD-src-33478b2ceb878dac5d2cf77dde41aee4bb219554.zip FreeBSD-src-33478b2ceb878dac5d2cf77dde41aee4bb219554.tar.gz |
add forgotten IFA_LOCK_INIT
Diffstat (limited to 'sys/netipx')
-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; |