netfilter: nf_tables: use RCU-safe list insertion when replacing rules
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 Jun 2014 08:53:00 +0000 (10:53 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Jun 2014 11:07:29 +0000 (13:07 +0200)
commit5bc5c307653cbf8fe9da6cbd8ae6c6bd5b86ff4b
tree74d2777a909bbbbe2a94139439643ca1d711a911
parentcd5f336f1780cb20e83146cde64d3d5779e175e6
netfilter: nf_tables: use RCU-safe list insertion when replacing rules

The patch 5e94846 ("netfilter: nf_tables: add insert operation") did
not include RCU-safe list insertion when replacing rules.

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