don't unlock lle if it is NULL
This commit is contained in:
parent
bf113303e6
commit
81140652bf
@ -777,7 +777,8 @@ arp_ifinit(struct ifnet *ifp, struct ifaddr *ifa)
|
||||
if (lle == NULL)
|
||||
log(LOG_INFO, "arp_ifinit: cannot create arp "
|
||||
"entry for interface address\n");
|
||||
LLE_RUNLOCK(lle);
|
||||
else
|
||||
LLE_RUNLOCK(lle);
|
||||
ifa->ifa_rtrequest = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user