Re: [PATCH v2] ipv6: esp6: use BUG_ON instead of if condition followed by BUG

From: Steffen Klassert
Date: Fri Oct 27 2017 - 06:47:02 EST


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 <garsilva@xxxxxxxxxxxxxx>
>
> Acked-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Applied to ipsec-next, thanks everyone!