diff options
author | Gao Feng | 2017-03-28 03:52:52 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2017-04-06 22:01:42 +0200 |
commit | 2c62e0bc685fcb400a0b5cffb39860290bc902a8 (patch) | |
tree | 94a86bfcf9f57b7434ff82ab1bbbb903acdca758 /net/netfilter/nf_tables_api.c | |
parent | netfilter: nat: avoid use of nf_conn_nat extension (diff) | |
download | kernel-qcow2-linux-2c62e0bc685fcb400a0b5cffb39860290bc902a8.tar.gz kernel-qcow2-linux-2c62e0bc685fcb400a0b5cffb39860290bc902a8.tar.xz kernel-qcow2-linux-2c62e0bc685fcb400a0b5cffb39860290bc902a8.zip |
netfilter: ctnetlink: Expectations must have a conntrack helper area
The expect check function __nf_ct_expect_check() asks the master_help is
necessary. So it is unnecessary to go ahead in ctnetlink_alloc_expect
when there is no help.
Actually the commit bc01befdcf3e ("netfilter: ctnetlink: add support for
user-space expectation helpers") permits ctnetlink create one expect
even though there is no master help. But the latter commit 3d058d7bc2c5
("netfilter: rework user-space expectation helper support") disables it
again.
Signed-off-by: Gao Feng <fgao@ikuai8.com>
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