Thread (26 messages) flat view 26 messages, 5 authors, 2018-04-09

Re: [PATCH net-next 2/6] net: Move call_fib_rule_notifiers up in fib_nl_newrule

From: Ido Schimmel <hidden>
Date: 2018-03-29 08:22:41

On Tue, Mar 27, 2018 at 06:21:56PM -0700, David Ahern wrote:
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 <redacted>
BTW, this means we can now return an error from mlxsw instead of only
emitting an extack warning when an unsupported FIB rule is configured.
Will add that.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help