summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_tables_api.c
diff options
context:
space:
mode:
authorPatrick McHardy2014-02-06 10:17:41 +0100
committerPablo Neira Ayuso2014-02-06 11:41:38 +0100
commitb8ecbee67c732ef9fc47fcf50aed6b7bb6231d98 (patch)
treedac36b02c3026506d5fe2199ebbd0cc6e10ee61b /net/netfilter/nf_tables_api.c
parentnetfilter: nf_tables: add reject module for NFPROTO_INET (diff)
downloadkernel-qcow2-linux-b8ecbee67c732ef9fc47fcf50aed6b7bb6231d98.tar.gz
kernel-qcow2-linux-b8ecbee67c732ef9fc47fcf50aed6b7bb6231d98.tar.xz
kernel-qcow2-linux-b8ecbee67c732ef9fc47fcf50aed6b7bb6231d98.zip
netfilter: nf_tables: fix log/queue expressions for NFPROTO_INET
The log and queue expressions both store the family during ->init() and use it to deliver packets. This is wrong when used in NFPROTO_INET since they should both deliver to the actual AF of the packet, not the dummy NFPROTO_INET. Use the family from the hook ops to fix this. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_tables_api.c')
0 files changed, 0 insertions, 0 deletions