bridge: Use rcu_barrier() instead of syncronize_net() on unload.
authorJesper Dangaard Brouer <hawk@comx.dk>
Fri, 26 Jun 2009 10:45:48 +0000 (10:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jun 2009 20:51:32 +0000 (13:51 -0700)
commit473c22d759e73cbbe604f41105b497817cc2ee8e
tree799832200c62f721718408a1a072da2cdc5fa35c
parent1f2ccd00f224a4e2d6d26f590f3e6851f3deef99
bridge: Use rcu_barrier() instead of syncronize_net() on unload.

When unloading modules that uses call_rcu() callbacks, then we must
use rcu_barrier().  This module uses syncronize_net() which is not
enough to be sure that all callback has been completed.

Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br.c