diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-08-09 23:42:09 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-09 23:45:19 +0300 |
commit | f8d3e0dc4b3aed92063de6e9fd34a75efe8d4a03 (patch) | |
tree | 17671ff17c9f650eec5d8d832b87be1c019e8072 /include | |
parent | 718cb09aaa6fa78cc8124e9517efbc6c92665384 (diff) | |
parent | 8743aeff5bc4dcb5b87b43765f48d5ac3ad7dd9f (diff) | |
download | linux-f8d3e0dc4b3aed92063de6e9fd34a75efe8d4a03.tar.xz |
Merge branch 'nexthop-nexthop-dump-fixes'
Ido Schimmel says:
====================
nexthop: Nexthop dump fixes
Patches #1 and #3 fix two problems related to nexthops and nexthop
buckets dump, respectively. Patch #2 is a preparation for the third
patch.
The pattern described in these patches of splitting the NLMSG_DONE to a
separate response is prevalent in other rtnetlink dump callbacks. I
don't know if it's because I'm missing something or if this was done
intentionally to ensure the message is delivered to user space. After
commit 0642840b8bb0 ("af_netlink: ensure that NLMSG_DONE never fails in
dumps") this is no longer necessary and I can improve these dump
callbacks assuming this analysis is correct.
No regressions in existing tests:
# ./fib_nexthops.sh
[...]
Tests passed: 230
Tests failed: 0
====================
Link: https://lore.kernel.org/r/20230808075233.3337922-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions