]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit6eba87c781aaa02f6bf1b64df2f8b12833eee521
tree1cb2a33f0183083aba0e54d1f618ed75bf1e8492
parent1fba70e5b6bed53496ba1f1f16127f5be01b5fb6
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