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

2017-10-24 Thread David Miller
From: "Gustavo A. R. Silva" 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 Applied.

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

2017-10-23 Thread Gustavo A. R. Silva
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 --- net/ipv4/tcp_minisocks.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git