diff options
| author | Daehyeon Ko <4ncienth@gmail.com> | 2026-10-08 14:29:22 +0900 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-08 11:32:36 -0700 |
| commit | e02a5b6588161673ef75a4bc5cdfb62bd493374d (patch) | |
| tree | f5f8e3b24a1605932cbef9b43f4a0eb30fdb6030 /tools/lib/python/kdoc/python_version.py | |
| parent | 6785011f8b16abf40b1e9d8b2e332232b3e68822 (diff) | |
| download | linux-next-e02a5b6588161673ef75a4bc5cdfb62bd493374d.tar.gz linux-next-e02a5b6588161673ef75a4bc5cdfb62bd493374d.zip | |
ipv4: do not warn on route notification size race
Commit 680aea08e78c ("net: ipv4: Emit notification when fib hardware
flags are changed") added asynchronous route notifications for hardware
flag changes.
fib_alias_hw_flags_set() sizes the skb with fib_nlmsg_size() and later
fills it with fib_dump_info() while holding only RCU. With nexthop
compatibility mode enabled, a concurrent replacement can grow the group
between these independent snapshots. fib_dump_info() can then
legitimately return -EMSGSIZE, so the warning does not prove a sizing bug.
Remove the warning. The existing error path still frees the skb and
reports the error to listeners.
Fixes: 680aea08e78c ("net: ipv4: Emit notification when fib hardware flags are changed")
Reported-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/netdev/20261004082043.GB92032@shredder/
Suggested-by: Ido Schimmel <idosch@nvidia.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daehyeon Ko <4ncienth@gmail.com>
Link: https://patch.msgid.link/b7e203fc5867651cb67ef84aa03e082f0f76008e.1791423190.git.4ncienth@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
