commit | 9776d32537d2bbc251fd1de651e2bb2439474bde | [log] [tgz] |
---|---|---|
author | David Ahern <dsa@cumulusnetworks.com> | Tue Mar 27 18:21:56 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 29 14:10:30 2018 -0400 |
tree | ceee723abc28591a3a0062ee126f663b922e4ebe | |
parent | c30d9356e9e8ed0735c1215e187b03d3ae8b4966 [diff] |
net: Move call_fib_rule_notifiers up in fib_nl_newrule Move call_fib_rule_notifiers up in fib_nl_newrule to the point right before the rule is inserted into the list. At this point there are no more failure paths within the core rule code, so if the notifier does not fail then the rule will be inserted into the list. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>