mirror_frr/pbrd
Keelan10 c09013e33a pbrd: Correct Handling of Sequence Deletion
This commit ensures that sequence data
and associated structures are correctly deleted to prevent memory leaks

The ASan leak log for reference:
```
Direct leak of 432 byte(s) in 1 object(s) allocated from:
    #0 0x7f911ebaba37 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
    #1 0x7f911e749a4e in qcalloc ../lib/memory.c:105
    #2 0x564fd444b2d3 in pbrms_get ../pbrd/pbr_map.c:527
    #3 0x564fd443a82d in pbr_map ../pbrd/pbr_vty.c:90
    #4 0x7f911e691d61 in cmd_execute_command_real ../lib/command.c:993
    #5 0x7f911e6920ee in cmd_execute_command ../lib/command.c:1052
    #6 0x7f911e692dc0 in cmd_execute ../lib/command.c:1218
    #7 0x7f911e843197 in vty_command ../lib/vty.c:591
    #8 0x7f911e84807c in vty_execute ../lib/vty.c:1354
    #9 0x7f911e84e47a in vtysh_read ../lib/vty.c:2362
    #10 0x7f911e8332f4 in event_call ../lib/event.c:1979
    #11 0x7f911e71d828 in frr_run ../lib/libfrr.c:1213
    #12 0x564fd4425795 in main ../pbrd/pbr_main.c:168
    #13 0x7f911e2e1d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

```

Signed-off-by: Keelan Cannoo <keelan.cannoo@icloud.com>
2023-08-20 07:07:36 +04:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
Makefile pbrd: Add PBR to FRR 2018-04-06 13:22:43 -04:00
pbr_debug.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
pbr_debug.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
pbr_main.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
pbr_map.c pbrd: Correct Handling of Sequence Deletion 2023-08-20 07:07:36 +04:00
pbr_map.h pbrd: Correct Handling of Sequence Deletion 2023-08-20 07:07:36 +04:00
pbr_memory.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
pbr_memory.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
pbr_nht.c pbrd: use flags to indicate active fields 2023-08-09 12:11:35 -07:00
pbr_nht.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
pbr_vrf.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
pbr_vrf.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
pbr_vty.c pbrd: Correct Handling of Sequence Deletion 2023-08-20 07:07:36 +04:00
pbr_vty.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
pbr_zebra.c pbrd: add packet mangling actions (src/dst ip-addr/port, dscp, ecn) 2023-08-09 12:11:43 -07:00
pbr_zebra.h *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
subdir.am build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00