Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fabb2bf
)
session: fix lcl port allocation with fib
57/42457/1
author
Florin Coras
<
[email protected]
>
Thu, 6 Mar 2025 19:20:14 +0000
(14:20 -0500)
committer
Florin Coras
<
[email protected]
>
Thu, 6 Mar 2025 19:20:14 +0000
(14:20 -0500)
Type: fix
Change-Id: I0b0cc664cec2643a543a39cc7482292604381bf7
Signed-off-by: Florin Coras <
[email protected]
>
src/vnet/session/transport.c
patch
|
blob
|
history
diff --git
a/src/vnet/session/transport.c
b/src/vnet/session/transport.c
index
015255e
..
150be40
100644
(file)
--- 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;