Re: [PATCH] net: core: rtnetlink: use BUG_ON instead of if condition followed by BUG
From: David Miller
Date: Mon Oct 23 2017 - 00:32:38 EST
From: "Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx>
Date: Fri, 20 Oct 2017 19:43:11 -0500
> Use BUG_ON instead of if condition followed by BUG in do_setlink.
>
> This issue was detected with the help of Coccinelle.
>
> Signed-off-by: Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>
Applied.