]> 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)
commite3cf89f87c5790050d883aba037d94c54365edcf
treeba7922b54a4c5b8690bba765b7aa9805cf561437
parent45b6204e7fdf5c1586ef5f4fe1792ffa77215df1
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