netfilter: ebtables: convert BUG_ONs to WARN_ONs
authorFlorian Westphal <fw@strlen.de>
Mon, 19 Feb 2018 00:24:53 +0000 (01:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:50:31 +0000 (07:50 +0200)
commitd505165f3787350b6268a9b11e7ab2298f83f2fc
treec237f4415b96674a4ba5ff9ba60619bbba7b5fda
parent4cf517fc579bf6a2040a978e0a8385ba030e2ebc
netfilter: ebtables: convert BUG_ONs to WARN_ONs

[ Upstream commit fc6a5d0601c5ac1d02f283a46f60b87b2033e5ca ]

All of these conditions are not fatal and should have
been WARN_ONs from the get-go.

Convert them to WARN_ONs and bail out.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bridge/netfilter/ebtables.c