netfilter: nf_log: wait for rcu grace after logger unregistration

commit ad5001cc7c upstream.

The nf_log_unregister() function needs to call synchronize_rcu() to make sure
that the objects are not dereferenced anymore on module removal.

Fixes: 5962815a6a ("netfilter: nf_log: use an array of loggers instead of list")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Pablo Neira Ayuso 2015-09-17 13:37:00 +02:00 • committed by Greg Kroah-Hartman
commit cc2cc007bc