]> git.baikalelectronics.ru Git - 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)
commit1b1e90e278c230f5262ea01c219cfe45fab93259
tree3c8e4ae364b4e7f47adcb29ff329e52010aa8ad4
parentaa1518e17fa9b55583e7632fb7064c2d4e4ac2f1
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