03/07/2023 17:43, Vladimir Medvedkin:
> Fixed an issue that occurs when
> adding a default route as the first route.
>
> Bugzilla ID: 1160
> Fixes: 7dc7868b200d ("fib: add DIR24-8 dataplane algorithm")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Vladimir Medvedkin
Applied, thanks.
Fixed an issue that occurs when
adding a default route as the first route.
Bugzilla ID: 1160
Fixes: 7dc7868b200d ("fib: add DIR24-8 dataplane algorithm")
Cc: sta...@dpdk.org
Signed-off-by: Vladimir Medvedkin
---
v2:
- remove unnecessary parenthesis
---
lib/fib/dir24_8.c | 2 +-
1 file change
On Fri, 30 Jun 2023 17:10:35 +
Vladimir Medvedkin wrote:
> redge = ip + (uint32_t)(1ULL << (32 - depth));
> - if (ledge == redge)
> + if ((ledge == redge) && (ledge != 0))
Extra parenthesis are not necessary here.
Fixed an issue that occurs when
adding a default route as the first route.
Bugzilla ID: 1160
Fixes: 7dc7868b200d ("fib: add DIR24-8 dataplane algorithm")
Cc: sta...@dpdk.org
Signed-off-by: Vladimir Medvedkin
---
lib/fib/dir24_8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
4 matches
Mail list logo