Florian Westphal 331f79cf85 netfilter: ebtables: fix erroneous reject of last rule
[ Upstream commit 932909d9b28d27e807ff8eecb68c7748f6701628 ]

The last rule in the blob has next_entry offset that is same as total size.
This made "ebtables32 -A OUTPUT -d de:ad:be:ef:01:02" fail on 64 bit kernel.

Fixes: b71812168571fa ("netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets")
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>
2018-05-30 07:49:04 +02:00
..
2018-05-16 10:06:51 +02:00
2018-05-26 08:48:46 +02:00
2017-11-15 17:13:11 +01:00
2015-11-23 14:56:15 -05:00
2018-05-30 07:49:02 +02:00
2015-10-07 04:27:43 -07:00
2018-05-26 08:48:46 +02:00
2015-10-21 00:49:24 +02:00
2018-05-30 07:48:59 +02:00
2018-05-30 07:48:56 +02:00
2018-04-24 09:32:11 +02:00
2018-02-25 11:03:37 +01:00