]> git.ipfire.org Git - thirdparty/bird.git/commit
Babel: Seqno requests are properly decoupled from neighbors when the underlying inter... mh-bird-apkg
authorMaria Matejka <mq@ucw.cz>
Sun, 30 May 2021 11:07:16 +0000 (13:07 +0200)
committerMaria Matejka <mq@ucw.cz>
Sun, 30 May 2021 11:29:21 +0000 (13:29 +0200)
commitebd5751cdeb4c753c6c9df31b82dcd6afee2cd39
treef8bf9374c452fd2403989ae7fa972d1145b3f1ea
parent10498b8e89a4509bdd447bd14f07a3b3e35ae575
Babel: Seqno requests are properly decoupled from neighbors when the underlying interface disappears

When an interface disappears, all the neighbors are freed as well. Seqno
requests were anyway not decoupled from them, leading to strange
segfaults. This fix adds a proper seqno request list inside neighbors to
make sure that no pointer to neighbor is kept after free.
lib/lists.h
proto/babel/babel.c
proto/babel/babel.h