From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932453AbdJ0Kq7 (ORCPT ); Fri, 27 Oct 2017 06:46:59 -0400 Received: from a.mx.secunet.com ([62.96.220.36]:33182 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751176AbdJ0Kq4 (ORCPT ); Fri, 27 Oct 2017 06:46:56 -0400 Date: Fri, 27 Oct 2017 12:46:54 +0200 From: Steffen Klassert To: Herbert Xu CC: "Gustavo A. R. Silva" , "David S. Miller" , Alexey Kuznetsov , "Hideaki YOSHIFUJI" , , Subject: Re: [PATCH v2] ipv6: esp6: use BUG_ON instead of if condition followed by BUG Message-ID: <20171027104653.GF11292@secunet.com> References: <20171025040750.GB1999@gondor.apana.org.au> <20171026125106.GA13009@embeddedor.com> <20171026223836.GB8783@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20171026223836.GB8783@gondor.apana.org.au> User-Agent: Mutt/1.5.24 (2015-08-30) X-G-Data-MailSecurity-for-Exchange-State: 0 X-G-Data-MailSecurity-for-Exchange-Error: 0 X-G-Data-MailSecurity-for-Exchange-Sender: 23 X-G-Data-MailSecurity-for-Exchange-Server: d65e63f7-5c15-413f-8f63-c0d707471c93 X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-G-Data-MailSecurity-for-Exchange-Guid: 21513CE3-143D-4CEC-A7E1-B4FEBFE4BEEB Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 27, 2017 at 06:38:36AM +0800, Herbert Xu wrote: > On Thu, Oct 26, 2017 at 07:51:06AM -0500, Gustavo A. R. Silva wrote: > > Use BUG_ON instead of if condition followed by BUG in esp_remove_trailer. > > > > This issue was detected with the help of Coccinelle. > > > > Signed-off-by: Gustavo A. R. Silva > > Acked-by: Herbert Xu Applied to ipsec-next, thanks everyone!