]> git.puffer.fish Git - mirror/frr.git/commit
eigrp: use correct memory pool on interface deletion 14565/head
authorVolodymyr Huti <v.huti@vyos.io>
Tue, 10 Oct 2023 16:10:18 +0000 (19:10 +0300)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Wed, 11 Oct 2023 14:19:12 +0000 (14:19 +0000)
commit0f8286f0c60c866c93f28c5e28ccc1bb81a58916
treea1f5eb01006d40dce6496e4ad462695999d9fea7
parentb06b4fff332f1aef1688f696d298ccacbfd8da91
eigrp: use correct memory pool on interface deletion

Trying to delete an interface during the test test_eigrp_topo1.py triggers a crash.
```
EIGRP: abort+0x12b
EIGRP: _zlog_assert_failed+0x18c
EIGRP: mt_count_free+0x56
EIGRP: qfree+0x2e
EIGRP: eigrp_if_delete_hook+0x8c
EIGRP: hook_call_if_del+0x5f
EIGRP: if_delete_retain+0x1c
EIGRP: if_delete+0xfb
EIGRP: if_destroy_via_zapi+0x69
EIGRP: zclient_interface_delete+0x57
EIGRP: zclient_read+0x3d0
EIGRP: event_call+0xd8
EIGRP: frr_run+0x271
EIGRP: main+0x14b
EIGRP: __libc_start_main+0xf3
EIGRP: _start+0x2e
EIGRP: in thread zclient_read scheduled from lib/zclient.c:4514 zclient_event()
```

Signed-off-by: Volodymyr Huti <v.huti@vyos.io>
(cherry picked from commit 8ddf6a713f2003ccccb884a8c436ffeb2fe34c62)
eigrpd/eigrp_interface.c