commit | 7bfdde7045ad54d9fdccac70baffd094d9de73f8 | [log] [tgz] |
---|---|---|
author | Liping Zhang <liping.zhang@spreadtrum.com> | Thu Sep 22 22:28:52 2016 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Sun Sep 25 14:54:04 2016 +0200 |
tree | 299515d8e6cfd77a65dba12479cf1337841c1a90 | |
parent | d767ff2c84f19be1aa403762f34eebbb403caf6d [diff] |
netfilter: nft_ct: report error if mark and dir specified simultaneously NFT_CT_MARK is unrelated to direction, so if NFTA_CT_DIRECTION attr is specified, report EINVAL to the userspace. This validation check was already done at nft_ct_get_init, but we missed it in nft_ct_set_init. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>