netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON
authorFlorian Westphal <fw@strlen.de>
Sun, 14 Apr 2019 22:43:00 +0000 (00:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 22 Apr 2019 08:34:30 +0000 (10:34 +0200)
commit7caa56f006e9d712b44f27b32520c66420d5cbc6
tree92849a0fef03ca4c21e897dbf43a7e3aa2e07cf0
parent5bdac418f33f60b07a34e01e722889140ee8fac9
netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON

It means userspace gave us a ruleset where there is some other
data after the ebtables target but before the beginning of the next rule.

Fixes: 81e675c227ec ("netfilter: ebtables: add CONFIG_COMPAT support")
Reported-by: syzbot+659574e7bcc7f7eb4df7@syzkaller.appspotmail.com
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/netfilter/ebtables.c