]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: xt_connmark: fix list corruption on rmmod
authorFlorian Westphal <fw@strlen.de>
Tue, 12 Jun 2018 16:36:19 +0000 (18:36 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 12 Jun 2018 17:35:52 +0000 (19:35 +0200)
commitfc6ddbecce440df74fb4491c17c372b52cf5be83
treeb812664469498643e9e96cb05c04968c022a2b30
parentc05a45c0865d986a8aea373cd5297dbfded6882e
netfilter: xt_connmark: fix list corruption on rmmod

This needs to use xt_unregister_targets, else new revision is left
on the list which then causes list to point to a target struct that has been free'd.

Fixes: 472a73e00757 ("netfilter: xt_conntrack: Support bit-shifting for CONNMARK & MARK targets.")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_connmark.c