diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-14 23:05:36 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-17 22:33:16 -0600 |
commit | eac07cd92c6ed9b0e4d03e071a4916d43fb2997a (patch) | |
tree | b134a44d69c979085dd7fb7170d87b8f4a603919 /src/device.c | |
parent | compat: nf_nat_core.h was removed upstream (diff) | |
download | wireguard-monolithic-historical-eac07cd92c6ed9b0e4d03e071a4916d43fb2997a.tar.xz wireguard-monolithic-historical-eac07cd92c6ed9b0e4d03e071a4916d43fb2997a.zip |
global: the _bh variety of rcu helpers have been unified
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c index 2866dd9..779c415 100644 --- a/src/device.c +++ b/src/device.c @@ -94,7 +94,7 @@ static int wg_pm_notification(struct notifier_block *nb, unsigned long action, mutex_unlock(&wg->device_update_lock); } rtnl_unlock(); - rcu_barrier_bh(); + rcu_barrier(); return 0; } @@ -244,7 +244,7 @@ static void wg_destruct(struct net_device *dev) destroy_workqueue(wg->packet_crypt_wq); wg_packet_queue_free(&wg->decrypt_queue, true); wg_packet_queue_free(&wg->encrypt_queue, true); - rcu_barrier_bh(); /* Wait for all the peers to be actually freed. */ + rcu_barrier(); /* Wait for all the peers to be actually freed. */ wg_ratelimiter_uninit(); memzero_explicit(&wg->static_identity, sizeof(wg->static_identity)); skb_queue_purge(&wg->incoming_handshakes); @@ -468,5 +468,5 @@ void wg_device_uninit(void) #ifdef CONFIG_PM_SLEEP unregister_pm_notifier(&pm_notifier); #endif - rcu_barrier_bh(); + rcu_barrier(); } |