Re: [PATCH net-next 1/6] net: Fix fib notifer to return errno

2018-03-29 Thread Ido Schimmel
On Tue, Mar 27, 2018 at 06:21:55PM -0700, David Ahern wrote: > Notifier handlers use notifier_from_errno to convert any potential error > to an encoded format. As a consequence the other side, call_fib_notifier{s} > in this case, needs to use notifier_to_errno to return the error from > the handler

[PATCH net-next 1/6] net: Fix fib notifer to return errno

2018-03-27 Thread David Ahern
Notifier handlers use notifier_from_errno to convert any potential error to an encoded format. As a consequence the other side, call_fib_notifier{s} in this case, needs to use notifier_to_errno to return the error from the handler back to its caller. Signed-off-by: David Ahern --- net/core/fib_n