]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv4: Change fib notifiers to take a fib_alias
authorDavid Ahern <dsahern@gmail.com>
Wed, 18 Oct 2017 18:39:13 +0000 (11:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2017 12:29:26 +0000 (13:29 +0100)
commit0c7917e1162a19a4f536f743749af805c33ada6a
tree1cb2a33f0183083aba0e54d1f618ed75bf1e8492
parentab74e7f9d917e7a4dde6801677fbafc511a4c32f
net: ipv4: Change fib notifiers to take a fib_alias

All of the notifier data (fib_info, tos, type and table id) are
contained in the fib_alias. Pass it to the notifier instead of
each data separately shortening the argument list by 3.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c