Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Ido Schimmel
Tue, 24 Nov 2026 11:03
Re: [PATCH] ipv4: fib_rules: Switch to using a for loop in fib_empty_table
Author: Ido Schimmel
Date: Tue, 24 Nov 2026 11:03
Date: Tue, 24 Nov 2026 11:03
14 lines
10741 bytes
10741 bytes
On Fri, Nov 20, 2026 at 10:12:42AM +0200, Nikolay Borisov wrote:
> Since commit efdfb1e27a33 ("ipv4: fib: bound automatic table ID allocation")
> added a sane bound to the loop looking for a table id the concerns in
> 58075ff523af ("ipv4: fib_rules: Fix possible infinite loop in fib_empty_table")
> are rendered moot. Just revert the code back to a "for" loop, using the
> new bound. This makes the code's flow and terminating condition a
> lot clearer.
I disagree with "a lot clearer". The function is tiny.
Please read:
https://docs.kernel.org/next/process/maintainer-netdev.html#clean-up-patches
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads