Re: [PATCH v2] net: xfrm_user: use BUG_ON instead of if condition followed by BUG

From: Steffen Klassert
Date: Fri Oct 27 2017 - 06:46:22 EST


On Thu, Oct 26, 2017 at 06:31:35AM -0500, Gustavo A. R. Silva wrote:
> Use BUG_ON instead of if condition followed by BUG.
>
> This issue was detected with the help of Coccinelle.
>
> Signed-off-by: Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>

Applied to ipsec-next, thanks Gustavo!