commit | 2233000cba40ee0784a2d5b5e2b2c38c1159a7ef | [log] [tgz] |
---|---|---|
author | David Ahern <dsa@cumulusnetworks.com> | Tue Mar 27 18:21:59 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 29 14:10:31 2018 -0400 |
tree | 90b0c05895c4bb1efacdea9a21fbabbfb6932ac2 | |
parent | c1d7ee67acb54b7dc1408929ff70dfe46993e517 [diff] |
net/ipv6: Move call_fib6_entry_notifiers up for route adds Move call to call_fib6_entry_notifiers for new IPv6 routes to right before the insertion into the FIB. At this point notifier handlers can decide the fate of the new route with a clean path to delete the potential new entry if the notifier returns non-0. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>