]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: tcp_minisocks: use BUG_ON instead of if condition followed by BUG
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Mon, 23 Oct 2017 18:10:56 +0000 (13:10 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Oct 2017 09:44:42 +0000 (18:44 +0900)
commit59f935f40a9e255f1b5807fb97ed5362e90ee036
tree25661b484b2304a18a7247604cad2b36b14cd750
parent2efd30a6d02b6c4ecf3055351198f63c821311fb
ipv4: tcp_minisocks: use BUG_ON instead of if condition followed by BUG

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@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_minisocks.c