Re: [PATCH] ipv4: tcp_minisocks: use BUG_ON instead of if condition followed by BUG
From: David Miller
Date: Tue Oct 24 2017 - 05:45:30 EST
From: "Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx>
Date: Mon, 23 Oct 2017 13:10:56 -0500
> Use BUG_ON instead of if condition followed by BUG in tcp_time_wait.
>
> This issue was detected with the help of Coccinelle.
>
> Signed-off-by: Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>
Applied.