]> 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)
commit77754dbccee8dc3e94a817e3f1bf6b6fafcbe28b
tree1cb2a33f0183083aba0e54d1f618ed75bf1e8492
parentce569a4ad5606019534a1b961353a1855f90fee4
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