]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: nf_tables: check if same extensions are set when adding elements
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 May 2017 10:58:50 +0000 (12:58 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 3 May 2017 08:58:00 +0000 (10:58 +0200)
commit9744a6fcefcb4d56501d69adb04c24559d353cad
tree679f52405bc4a0003dc105908b207a31dfd211ff
parent1519fccb34371594f6a629bfad69605bc6f9dde3
netfilter: nf_tables: check if same extensions are set when adding elements

If no NLM_F_EXCL is set and the element already exists in the set, make
sure that both elements have the same extensions.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c