Re: [PATCH nf 2/2] netfilter: nf_tables: close race between netns exit and rmmod

2018-06-12 Thread Pablo Neira Ayuso
On Mon, Jun 11, 2018 at 01:20:36PM +0200, Florian Westphal wrote: > If net namespace is exiting while nf_tables module is being removed > we can oops: > > BUG: unable to handle kernel NULL pointer dereference at 0040 > IP: nf_tables_flowtable_event+0x43/0xf0 [nf_tables] > PGD 0 P4D

[PATCH nf 2/2] netfilter: nf_tables: close race between netns exit and rmmod

2018-06-11 Thread Florian Westphal
If net namespace is exiting while nf_tables module is being removed we can oops: BUG: unable to handle kernel NULL pointer dereference at 0040 IP: nf_tables_flowtable_event+0x43/0xf0 [nf_tables] PGD 0 P4D 0 Oops: [#1] SMP PTI Modules linked in: nf_tables(-) nfnetlink [..]