]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Allow tunneldump data to work properly on non-supported kernels 12060/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 4 Oct 2022 12:51:38 +0000 (08:51 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 4 Oct 2022 19:05:44 +0000 (15:05 -0400)
commit451165eb57cd12795d8260ef927ce3d5ee4af9ed
tree117529563c64c7b21e8ad38d8a26c3503045fa41
parent4b72a7be697fcd69b0d17ebc5b28bb2b0fe55e0d
zebra: Allow tunneldump data to work properly on non-supported kernels

When zebra requests tunnel data it is sending a RTM_GETTUNNEL per
interface that is a VXLAN tunnel.  If the kernel that is being
used does not support the particular request type then zebra
will get a error message per tunnel request back.  Unfortunately
netlink_parse_info *stops* reading on the first error message.
Therefor one kernels that are returning an error message
let's gather all of those errors.  This will allow things
like route reads to actually work properly

Fixes: #12056
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/if_netlink.c