Re: [PATCH] ipv4: icmp: use BUG_ON instead of if condition followed by BUG

From: David Miller
Date: Tue Oct 24 2017 - 05:45:21 EST


From: "Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx>
Date: Mon, 23 Oct 2017 13:08:14 -0500

> Use BUG_ON instead of if condition followed by BUG in icmp_timestamp.
>
> This issue was detected with the help of Coccinelle.
>
> Signed-off-by: Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>

Applied.