diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-02-29 17:13:31 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-04 10:12:59 +0000 |
commit | 429679dcf7d918b7bb523d89bde3307fb02496c3 (patch) | |
tree | 02a898766aed376d6e691e2d3949dfdc28cd355c /scripts | |
parent | 1ca1ba465e55b9460e4e75dec9fff31e708fec74 (diff) |
page_pool: fix netlink dump stop/resume
If message fills up we need to stop writing. 'break' will
only get us out of the iteration over pools of a single
netdev, we need to also stop walking netdevs.
This results in either infinite dump, or missing pools,
depending on whether message full happens on the last
netdev (infinite dump) or non-last (missing pools).
Fixes: 950ab53b77ab ("net: page_pool: implement GET in the netlink API")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions