diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2022-06-05 04:03:43 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2022-06-05 04:11:32 +0200 |
commit | ad686c55c3fad13f39e44ee5732c38296caff782 (patch) | |
tree | 70810a388efe16d45e73c85cb506f7897097b33b /sysdep | |
parent | f39e9aa20363eccc38289958f23c789d037c269b (diff) |
Babel: Do not try to remove multicast seqno request objects from neighbour list
The Babel seqno request code keeps track of which seqno requests are
outstanding for a neighbour by putting them onto a per-neighbour list. When
reusing a seqno request, it will try to remove this node, but if the seqno
request in question was a multicast request with no neighbour attached this
will result in a crash because it tries to remove a list node that wasn't
added to any list.
Fix this by making the list remove conditional. Also fix neighbor removal
which were changing seqno requests to multicast ones instead of removing
them.
Fixes: ebd5751cdeb4 ("Babel: Seqno requests are properly decoupled from
neighbors when the underlying interface disappears").
Based on the patch from Toke Høiland-Jørgensen <toke@toke.dk>,
bug reported by Stefan Haller <stefan.haller@stha.de>, thanks.
Diffstat (limited to 'sysdep')
0 files changed, 0 insertions, 0 deletions