netfilter: ebtables: convert BUG_ONs to WARN_ONs
authorFlorian Westphal <fw@strlen.de>
Mon, 19 Feb 2018 00:24:53 +0000 (01:24 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 28 Apr 2020 18:03:07 +0000 (19:03 +0100)
commitd05be1d7c02a24e27966218e796fe024922dcfec
treea59efcfa6ee3362c9c4ce9f504a3a955a8e4d9ad
parenta8e72340fb0df2d61b867776e816438f85b6afce
netfilter: ebtables: convert BUG_ONs to WARN_ONs

commit fc6a5d0601c5ac1d02f283a46f60b87b2033e5ca upstream.

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: Ben Hutchings <ben@decadent.org.uk>
net/bridge/netfilter/ebtables.c