mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 11:53:01 +00:00
Merge "net: core: To send ARP probe when neighbor state is NUD_STALE"
This commit is contained in:
commit
f28b6e365b
|
@ -950,7 +950,11 @@ static void neigh_timer_handler(unsigned long arg)
|
|||
if (!mod_timer(&neigh->timer, next))
|
||||
neigh_hold(neigh);
|
||||
}
|
||||
if (neigh->nud_state & (NUD_INCOMPLETE | NUD_PROBE | NUD_STALE)) {
|
||||
|
||||
if (neigh_probe_enable) {
|
||||
if (neigh->nud_state & (NUD_INCOMPLETE | NUD_PROBE | NUD_STALE))
|
||||
neigh_probe(neigh);
|
||||
} else if (neigh->nud_state & (NUD_INCOMPLETE | NUD_PROBE)) {
|
||||
neigh_probe(neigh);
|
||||
} else {
|
||||
out:
|
||||
|
|
Loading…
Reference in a new issue