if (!lck_rw_lock_shared_to_exclusive(&ifp->if_llreach_lock))
lck_rw_lock_exclusive(&ifp->if_llreach_lock);
- lck_rw_assert(&ifp->if_llreach_lock, LCK_RW_ASSERT_EXCLUSIVE);
+ LCK_RW_ASSERT(&ifp->if_llreach_lock, LCK_RW_ASSERT_EXCLUSIVE);
/* in case things have changed while becoming writer */
lr = RB_FIND(ll_reach_tree, &ifp->if_ll_srcs, &find);
unsigned int namelen;
uint32_t ifindex;
struct if_llreach *lr;
- struct if_llreach_info lri;
+ struct if_llreach_info lri = {};
struct ifnet *ifp;
name = (int *)arg1;