Re: [PATCH nf] netfilter: xt_connmark: fix list corruption on rmmod

2018-06-12 Thread Pablo Neira Ayuso
On Tue, Jun 12, 2018 at 06:36:19PM +0200, Florian Westphal wrote: > 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. Aplied, thanks. -- To unsubscribe from this list: send the line

[PATCH nf] netfilter: xt_connmark: fix list corruption on rmmod

2018-06-12 Thread Florian Westphal
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 --- diff