From: Florian Westphal Date: Thu, 8 Mar 2018 11:54:19 +0000 (+0100) Subject: netfilter: ebtables: fix erroneous reject of last rule X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2609aab91aded56745a33c738f63d68ecf1b1092;p=pandora-kernel.git netfilter: ebtables: fix erroneous reject of last rule commit 932909d9b28d27e807ff8eecb68c7748f6701628 upstream. 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 Signed-off-by: Pablo Neira Ayuso Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed