Commit 4b11bac4 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix a corner case with late hellos.

parent 6049c080
...@@ -144,7 +144,9 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval) ...@@ -144,7 +144,9 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval)
missed_hellos = 0; missed_hellos = 0;
} else { } else {
/* Late hello. Probably due to the link layer buffering /* Late hello. Probably due to the link layer buffering
packets during a link outage. Ignore it. */ packets during a link outage. Ignore it, but reset
the expected seqno. */
neigh->hello_seqno = hello;
hello = 0; hello = 0;
missed_hellos = 0; missed_hellos = 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment