Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate rcu for rte_fib when available upstream #9

Open
rjarry opened this issue Mar 21, 2024 · 0 comments
Open

integrate rcu for rte_fib when available upstream #9

rjarry opened this issue Mar 21, 2024 · 0 comments

Comments

@rjarry
Copy link
Collaborator

rjarry commented Mar 21, 2024

More details: http://inbox.dpdk.org/dev/[email protected]/

@rjarry rjarry added the feature New feature or request label Mar 21, 2024
@rjarry rjarry removed the feature New feature or request label Feb 18, 2025
rjarry added a commit to rjarry/grout that referenced this issue Feb 20, 2025
grout# show ip6 router-advert
error: command failed: Bad message
grout# ^D

==174902==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 328 byte(s) in 1 object(s) allocated from:
    #0 0x7fe0ca6c2250 in calloc (/lib64/libasan.so.8+0xc2250)
    DPDK#1 0x7fe0cadef910 in scols_new_table (/lib64/libsmartcols.so.1+0x6910)
    DPDK#2 0x417d0f in ra_show ../modules/ip6/cli/router_advert.c:19
    DPDK#3 0x41e836 in exec_strvec ../cli/exec.c:72
    DPDK#4 0x41e982 in exec_line ../cli/exec.c:106
    DPDK#5 0x41f412 in interact ../cli/interact.c:119
    DPDK#6 0x4216db in main ../cli/main.c:167
    ...
    DPDK#9 0x4017f4 in _start (/root/grout/build/grcli+0x4017f4)

Only allocate the table if the GR_IP6_IFACE_RA_SHOW api call is
successful.

Fixes: 8ed8b9d ("ip6: router advertisement configuration")
Signed-off-by: Robin Jarry <[email protected]>
rjarry added a commit that referenced this issue Feb 24, 2025
grout# show ip6 router-advert
error: command failed: Bad message
grout# ^D

==174902==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 328 byte(s) in 1 object(s) allocated from:
    #0 0x7fe0ca6c2250 in calloc (/lib64/libasan.so.8+0xc2250)
    #1 0x7fe0cadef910 in scols_new_table (/lib64/libsmartcols.so.1+0x6910)
    #2 0x417d0f in ra_show ../modules/ip6/cli/router_advert.c:19
    #3 0x41e836 in exec_strvec ../cli/exec.c:72
    #4 0x41e982 in exec_line ../cli/exec.c:106
    #5 0x41f412 in interact ../cli/interact.c:119
    #6 0x4216db in main ../cli/main.c:167
    ...
    #9 0x4017f4 in _start (/root/grout/build/grcli+0x4017f4)

Only allocate the table if the GR_IP6_IFACE_RA_SHOW api call is
successful.

Fixes: 8ed8b9d ("ip6: router advertisement configuration")
Signed-off-by: Robin Jarry <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant