From owner-svn-src-projects@freebsd.org Fri Dec 23 16:06:43 2016 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11CE6C8DC51 for ; Fri, 23 Dec 2016 16:06:43 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D570F991; Fri, 23 Dec 2016 16:06:42 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBNG6gKv014687; Fri, 23 Dec 2016 16:06:42 GMT (envelope-from ae@FreeBSD.org) Received: (from ae@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBNG6gvi014686; Fri, 23 Dec 2016 16:06:42 GMT (envelope-from ae@FreeBSD.org) Message-Id: <201612231606.uBNG6gvi014686@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ae set sender to ae@FreeBSD.org using -f From: "Andrey V. Elsukov" Date: Fri, 23 Dec 2016 16:06:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r310482 - projects/ipsec/sys/netipsec X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 16:06:43 -0000 Author: ae Date: Fri Dec 23 16:06:41 2016 New Revision: 310482 URL: https://svnweb.freebsd.org/changeset/base/310482 Log: Fix the returned value. Modified: projects/ipsec/sys/netipsec/key.c Modified: projects/ipsec/sys/netipsec/key.c ============================================================================== --- projects/ipsec/sys/netipsec/key.c Fri Dec 23 15:14:56 2016 (r310481) +++ projects/ipsec/sys/netipsec/key.c Fri Dec 23 16:06:41 2016 (r310482) @@ -8042,6 +8042,6 @@ xform_init(struct secasvar *sav, u_short } } XFORMS_UNLOCK(); - return (EINVAL); + return (ret); }