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:52:04 +0000 (07:52 +0200)
commitdd20ff0d079da24afa6b34c5323e46272d091228
tree7b3ebc2c1b2a77fc7c304f973773e8d2599d4a9a
parent84fc57f472f9fcf42ba3ef27734694d1a2a75b23
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