mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-01 17:00:36 +00:00
Only unlock the llentry if it is actually valid.
Reported by: ed
This commit is contained in:
parent
59a34231a4
commit
099d0bd34b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186293
@ -567,7 +567,8 @@ ip6_input(struct mbuf *m)
|
|||||||
LLE_RUNLOCK(lle);
|
LLE_RUNLOCK(lle);
|
||||||
goto hbhcheck;
|
goto hbhcheck;
|
||||||
}
|
}
|
||||||
LLE_RUNLOCK(lle);
|
if (lle != NULL)
|
||||||
|
LLE_RUNLOCK(lle);
|
||||||
|
|
||||||
if (V_ip6_forward_rt.ro_rt != NULL &&
|
if (V_ip6_forward_rt.ro_rt != NULL &&
|
||||||
(V_ip6_forward_rt.ro_rt->rt_flags & RTF_UP) != 0 &&
|
(V_ip6_forward_rt.ro_rt->rt_flags & RTF_UP) != 0 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user