]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ipv4: Set nexthop flags in a more consistent way
authorIdo Schimmel <idosch@nvidia.com>
Tue, 10 Nov 2020 10:25:53 +0000 (12:25 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 01:45:55 +0000 (17:45 -0800)
commitca787e0b935cdb45db1715f724d859683c5de297
tree3c8e4ae364b4e7f47adcb29ff329e52010aa8ad4
parent0575bedd6a1575e3f585b5dd5621cdcd26978054
ipv4: Set nexthop flags in a more consistent way

Be more consistent about the way in which the nexthop flags are set and
set them in one go.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20201110102553.1924232-1-idosch@idosch.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/fib_semantics.c