]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: take AF module reference when creating a table
authorPatrick McHardy <kaber@trash.net>
Thu, 9 Jan 2014 18:42:40 +0000 (18:42 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Jan 2014 19:17:16 +0000 (20:17 +0100)
commit420f9d63ab63fe1bf79f7a351ceacfa2cbf2f91f
treeba7922b54a4c5b8690bba765b7aa9805cf561437
parent38473f527afc6ffc4e369d144c0d9cbbf4f107c4
netfilter: nf_tables: take AF module reference when creating a table

The table refers to data of the AF module, so we need to make sure the
module isn't unloaded while the table exists.

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