From: Florin Coras Date: Thu, 6 Mar 2025 19:20:14 +0000 (-0500) Subject: session: fix lcl port allocation with fib X-Git-Tag: v25.10-rc0~170 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F42457%2F1;p=vpp.git session: fix lcl port allocation with fib Type: fix Change-Id: I0b0cc664cec2643a543a39cc7482292604381bf7 Signed-off-by: Florin Coras --- diff --git a/src/vnet/session/transport.c b/src/vnet/session/transport.c index 015255ecf08..150be404674 100644 --- a/src/vnet/session/transport.c +++ b/src/vnet/session/transport.c @@ -592,6 +592,7 @@ transport_endpoint_mark_used (u8 proto, u32 fib_index, ip46_address_t *ip, /* Pool reallocs with worker barrier */ lep = transport_endpoint_alloc (); clib_memcpy_fast (&lep->ep.ip, ip, sizeof (*ip)); + lep->ep.fib_index = fib_index; lep->ep.port = port; lep->proto = proto; lep->refcnt = 1;