From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ido Schimmel Subject: Re: [PATCH net-next 1/6] net: Fix fib notifer to return errno Date: Thu, 29 Mar 2018 11:19:51 +0300 Message-ID: <20180329081951.GA22733@splinter> References: <20180328012200.15175-1-dsa@cumulusnetworks.com> <20180328012200.15175-2-dsa@cumulusnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, davem@davemloft.net, roopa@cumulusnetworks.com, shm@cumulusnetworks.com, jiri@mellanox.com, idosch@mellanox.com, jakub.kicinski@netronome.com, andy.roulin@gmail.com To: David Ahern Return-path: Received: from out5-smtp.messagingengine.com ([66.111.4.29]:47533 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751085AbeC2ITy (ORCPT ); Thu, 29 Mar 2018 04:19:54 -0400 Content-Disposition: inline In-Reply-To: <20180328012200.15175-2-dsa@cumulusnetworks.com> Sender: netdev-owner@vger.kernel.org List-ID: 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 back to its caller. > > Signed-off-by: David Ahern Reviewed-by: Ido Schimmel