mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
don't unlock lle if it is NULL
This commit is contained in:
parent
23ee1bfa82
commit
86cd829d64
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue