netfilter: nf_tables: replay request after dropping locks to load chain type
authorPatrick McHardy <kaber@trash.net>
Thu, 9 Jan 2014 18:42:36 +0000 (18:42 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Jan 2014 19:17:14 +0000 (20:17 +0100)
commit93b0806f006b8b3ecb7a6183fcad21e88f39904f
tree14877bc234ea4ebbb3f36fa1d0f0b91d4f74c9eb
parent88ce65a71c39901494eb2f1393856bff8ba0158d
netfilter: nf_tables: replay request after dropping locks to load chain type

To avoid races, we need to replay to request after dropping the nfnl_mutex
to auto-load the chain type module.

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