]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Fix pass back of data from dplane through fpm pipe
authorDonald Sharp <sharpd@nvidia.com>
Thu, 30 Jan 2025 13:57:57 +0000 (08:57 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 31 Jan 2025 20:05:40 +0000 (15:05 -0500)
commitb2fc167978189238e045d719e11202ab303d2f59
tree8247c96ef4842e801db08372c79650d263d49cb0
parentce20b8cc0d6850a65a623fd8fa38d925b49443a5
zebra: Fix pass back of data from dplane through fpm pipe

A recent code change 29122bc9b8d5317f6f486f9fe61a92a854948cc5
changed the passing of data up the fpm from passing the
tableid and vrf to the sonic expected tableid contains
the vrfid.  This violates the assumptions in the code
that the netlink message passes up the tableid as the
tableid.  Additionally this code change did not modify
the rib_find_rn_from_ctx to actually properly decode
what could be passed up.  Let's just fix this and let
Sonic carry the patch as appropriate for themselves
since they are not the only users of dplane_fpm_nl.c

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/dplane_fpm_nl.c
zebra/zebra_rib.c