netfilter: ebtables: convert BUG_ONs to WARN_ONs
authorFlorian Westphal <fw@strlen.de>
Mon, 19 Feb 2018 00:24:53 +0000 (01:24 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 25 Feb 2018 19:06:17 +0000 (20:06 +0100)
commitfc6a5d0601c5ac1d02f283a46f60b87b2033e5ca
treed93af31d316d4ffe70d1d8282cea2d4ef410a1fa
parentc4585a2823edf4d1326da44d1524ecbfda26bb37
netfilter: ebtables: convert BUG_ONs to WARN_ONs

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>
net/bridge/netfilter/ebtables.c