netfilter: nf_log: wait for rcu grace after logger unregistration

[ Upstream commit ad5001cc7c ]

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: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Pablo Neira Ayuso 2015-09-17 13:37:00 +02:00 • committed by Sasha Levin
commit 8dafc9930c