[PATCH] fib6: fix error code propagation on next hop update
Thomas Monjalon
thomas at monjalon.net
Wed Jun 10 16:26:42 CEST 2026
05/06/2026 18:47, Vladimir Medvedkin:
> When updating the next hop of an existing prefix, trie_modify() ignored
> the return value of modify_dp() and always returned 0. An out-of-range
> next hop is rejected by modify_dp() with -EINVAL but was reported to
> the caller as success. Return the actual result.
>
> Fixes: c3e12e0f0354 ("fib: add dataplane algorithm for IPv6")
> Cc: stable at dpdk.org
> Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
Applied, thanks.
More information about the dev
mailing list