21/01/2026 18:57, Vladimir Medvedkin:
> When adding a prefix longer than /24 in FIB/FIB6 as a first prefix within
> its corresponding /24 supernet with the same next hop as its parent, the
> code would incorrectly skip incrementing the number of reserved TBL8 due
> to an early return statement. This could lead to integer overflow in
> 'dp->rsvd_tbl8s'. This commit corrects the logic to ensure that the
> reserved TBL8 count is properly incremented in such scenarios.
>
> Bugzilla ID: 1731
> Fixes: 7dc7868b200d ("fib: add DIR24-8 dataplane algorithm")
> Fixes: c3e12e0f0354 ("fib: add dataplane algorithm for IPv6")
> Cc: [email protected]
>
> Signed-off-by: Vladimir Medvedkin <[email protected]>
Applied, thanks.