even if nd6_nud_hint is called, do not change a neighbor's status
unless the old status is probably reachable (i.e. the link-layer address has already been resolved). Obtained from: KAME Project
This commit is contained in:
parent
539aabcb54
commit
ad8d5711fb
@ -730,7 +730,7 @@ nd6_nud_hint(rt, dst6)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ln = (struct llinfo_nd6 *)rt->rt_llinfo;
|
ln = (struct llinfo_nd6 *)rt->rt_llinfo;
|
||||||
if (ln->ln_state == ND6_LLINFO_INCOMPLETE)
|
if (ln->ln_state < ND6_LLINFO_REACHABLE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ln->ln_state = ND6_LLINFO_REACHABLE;
|
ln->ln_state = ND6_LLINFO_REACHABLE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user