netfilter: ingress: fix wrong input interface on hook
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 6 Nov 2015 17:35:57 +0000 (18:35 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 6 Nov 2015 18:33:12 +0000 (19:33 +0100)
commitb4865988eab598e56e6e628b9b32441acd142b28
tree2260eb10d935babc74b45e34bd3977e097676d73
parent61b590b9ee4221173ad6990a1150c5c9db73564e
netfilter: ingress: fix wrong input interface on hook

The input and output interfaces in nf_hook_state_init() are flipped.
This fixes iif matching on nftables.

Reported-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter_ingress.h