diff options
author | Paolo Abeni <pabeni@redhat.com> | 2018-10-16 16:52:05 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-13 11:08:20 -0800 |
commit | 703acc3265c392b6e390f8e045a8c492c3ae6968 (patch) | |
tree | 5b47aeaec0b08e47e4635f1d17135af27b536c50 /drivers/block/ataflop.c | |
parent | 117d5fbddd39a7de3c5ad400d9564ef70fe669cd (diff) | |
download | talos-obmc-linux-703acc3265c392b6e390f8e045a8c492c3ae6968.tar.gz talos-obmc-linux-703acc3265c392b6e390f8e045a8c492c3ae6968.zip |
netfilter: xt_nat: fix DNAT target for shifted portmap ranges
[ Upstream commit cb20f2d2c0507d60d94ef896991e95708f051dd1 ]
The commit 2eb0f624b709 ("netfilter: add NAT support for shifted
portmap ranges") did not set the checkentry/destroy callbacks for
the newly added DNAT target. As a result, rulesets using only
such nat targets are not effective, as the relevant conntrack hooks
are not enabled.
The above affect also nft_compat rulesets.
Fix the issue adding the missing initializers.
Fixes: 2eb0f624b709 ("netfilter: add NAT support for shifted portmap ranges")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/block/ataflop.c')
0 files changed, 0 insertions, 0 deletions