]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Merge branch 'netpoll-code-organization-improvements'
authorJakub Kicinski <kuba@kernel.org>
Thu, 19 Jun 2025 23:02:47 +0000 (16:02 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Jun 2025 23:15:35 +0000 (16:15 -0700)
commit4c6d203b40e01d9a5211fe3e2f91df97d5b51441
tree2996919be163a77ed55c10f50a8ab05a6e57841e
parent8a97590279d13796a4b27168ed21b2080a14977c
parent6ad7969a361cbec5822285fb39203678ff462b64
Merge branch 'netpoll-code-organization-improvements'

Breno Leitao says:

====================
netpoll: Code organization improvements

The netpoll_setup() function has grown complex over time, mixing
different error handling and concerns like carrier waiting, IPv4 address
retrieval, and IPv6 address retrieval all within a single function,
which is huge (127 LoC).

This patch series refactors the netpoll_setup() function to improve code
organization and readability by extracting logical blocks into dedicated
helper functions. netpoll_setup() length is reduced to 72 LoC.

This series breaks down these responsibilities into focused helper
functions.

The changes are purely structural with no functional modifications.

This changes were tested with the netconsole tests and the netpoll
selftest (WIP)[1]

Link: https://lore.kernel.org/20250612-netpoll_test-v1-1-4774fd95933f@debian.org
====================

Link: https://patch.msgid.link/20250618-netpoll_ip_ref-v1-0-c2ac00fe558f@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>