From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steffen Klassert Subject: Re: [PATCH] xfrm: fix the return code when xfrm_*_register_afinfo failed Date: Mon, 27 Apr 2015 12:38:12 +0200 Message-ID: <20150427103812.GL8928@secunet.com> References: <1429758413-30896-1-git-send-email-roy.qing.li@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: , To: Return-path: Received: from a.mx.secunet.com ([195.81.216.161]:47770 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932371AbbD0KiP (ORCPT ); Mon, 27 Apr 2015 06:38:15 -0400 Content-Disposition: inline In-Reply-To: <1429758413-30896-1-git-send-email-roy.qing.li@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Apr 23, 2015 at 11:06:53AM +0800, roy.qing.li@gmail.com wrote: > From: Li RongQing > > If xfrm_*_register_afinfo failed since xfrm_*_afinfo[afinfo->family] had the > value, return the -EEXIST, not -ENOBUFS > > Signed-off-by: Li RongQing Also applied to ipsec-next, thanks!