summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorLiping Zhang2016-07-16 08:27:21 +0200
committerPablo Neira Ayuso2016-07-19 19:52:03 +0200
commit590025a27fe0603e855a054c4ad57d966bd8af07 (patch)
tree75ef71f76d2da9d44102660d39cfa061b5e7447c /include/net
parentnetfilter: x_tables: speed up jump target validation (diff)
downloadkernel-qcow2-linux-590025a27fe0603e855a054c4ad57d966bd8af07.tar.gz
kernel-qcow2-linux-590025a27fe0603e855a054c4ad57d966bd8af07.tar.xz
kernel-qcow2-linux-590025a27fe0603e855a054c4ad57d966bd8af07.zip
netfilter: nft_ct: fix unpaired nf_connlabels_get/put call
We only get nf_connlabels if the user add ct label set expr successfully, but we will also put nf_connlabels if the user delete ct lable get expr. This is mismathced, and will cause ct label expr cannot work properly. Also, if we init something fail, we should put nf_connlabels back. Otherwise, we may waste to alloc the memory that will never be used. Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions