net/core: Fix BUG to BUG_ON conditionals.
authorTim Hansen <devtimhansen@gmail.com>
Mon, 9 Oct 2017 15:37:59 +0000 (11:37 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Oct 2017 19:31:37 +0000 (12:31 -0700)
commit9f77fad3c2e3b923984fc617ea45b60264115fc3
tree85a81fa7d7bf34d7e6c24d3532039db8ad79a7ff
parent67174bb2336061d373bc83ea1c56a4337a40e20f
net/core: Fix BUG to BUG_ON conditionals.

Fix BUG() calls to use BUG_ON(conditional) macros.

This was found using make coccicheck M=net/core on linux next
tag next-2017092

Signed-off-by: Tim Hansen <devtimhansen@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c