]> git.ipfire.org Git - thirdparty/linux.git/commit
ipv4: Add __must_check to nexthop removal functions
authorCosmin Ratiu <cratiu@nvidia.com>
Thu, 7 May 2026 07:56:06 +0000 (10:56 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sun, 10 May 2026 17:16:01 +0000 (10:16 -0700)
commit5dcbd64e66ba36fc7abd433d9bbba660dc0c473d
tree402d17d526b382bbd581ac0bbaa2ac5a321d81c0
parent35ce55100c61270eb8234bcc8ac87fec1d8e4ff9
ipv4: Add __must_check to nexthop removal functions

These functions return a signal whether FIB flushing is required which
must not be ignored. Use the compiler to help with enforcing this
requirement in the future.

Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20260507075606.322405-4-cratiu@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/nexthop.c