hselasky
ccccebe3aa
Fix deadlock when destroying VLANs.
Synchronizing the epoch before freeing the multicast addresses while holding
the VLAN_XLOCK() might lead to a deadlock. Use deferred freeing of the VLAN
multicast addresses to resolve deadlock. Backtrace:
Thread1:
epoch_block_handler_preempt()
ck_epoch_synchronize_wait()
epoch_wait_preempt()
vlan_setmulti()
vlan_ioctl()
in6m_release_task()
gtaskqueue_run_locked()
gtaskqueue_thread_loop()
fork_exit()
fork_trampoline()
Thread2:
sleepq_switch()
sleepq_wait()
_sx_xlock_hard()
_sx_xlock()
in6_leavegroup()
in6_purgeaddr()
if_purgeaddrs()
if_detach_internal()
if_detach()
vlan_clone_destroy()
if_clone_destroyif()
if_clone_destroy()
ifioctl()
kern_ioctl()
sys_ioctl()
amd64_syscall()
fast_syscall_common()
syscall()
Differential revision: https://reviews.freebsd.org/D17496
Reviewed by: slavash, mmacy
Approved by: re (kib)
Sponsored by: Mellanox Technologies
2018-10-15 10:29:29 +00:00
..
2018-08-22 19:38:48 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:23:17 +00:00
2017-11-20 19:43:44 +00:00
2018-06-13 17:04:41 +00:00
2018-06-13 17:04:41 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-07-24 16:35:52 +00:00
2017-11-20 19:43:44 +00:00
2018-06-19 10:34:45 +00:00
2018-05-23 21:02:14 +00:00
2017-11-27 15:23:17 +00:00
2018-05-31 09:11:21 +00:00
2018-03-27 15:29:32 +00:00
2017-11-27 15:23:17 +00:00
2018-08-22 18:19:56 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-04-13 21:18:04 +00:00
2018-07-24 16:35:52 +00:00
2018-05-11 05:00:40 +00:00
2018-07-24 16:35:52 +00:00
2018-05-11 20:08:28 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-07-24 16:35:52 +00:00
2017-11-20 19:43:44 +00:00
2018-07-24 16:35:52 +00:00
2018-07-24 16:35:52 +00:00
2017-11-27 15:23:17 +00:00
2018-07-24 16:35:52 +00:00
2018-08-26 12:51:46 +00:00
2018-03-27 20:51:49 +00:00
2018-07-24 16:35:52 +00:00
2018-07-04 02:47:16 +00:00
2018-09-17 10:10:14 +00:00
2018-07-04 02:47:16 +00:00
2018-07-24 16:35:52 +00:00
2017-02-06 08:49:57 +00:00
2018-10-09 13:26:06 +00:00
2018-05-24 23:21:23 +00:00
2018-07-24 16:35:52 +00:00
2018-05-24 23:21:23 +00:00
2017-11-20 19:43:44 +00:00
2018-07-24 16:35:52 +00:00
2018-07-24 16:35:52 +00:00
2018-04-23 21:10:33 +00:00
2018-08-22 18:19:56 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-05-18 20:13:34 +00:00
2018-06-05 20:51:01 +00:00
2018-10-03 07:35:16 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-10-03 07:35:16 +00:00
2017-11-20 19:43:44 +00:00
2018-09-29 13:01:23 +00:00
2018-08-16 23:46:38 +00:00
2018-10-15 10:29:29 +00:00
2018-05-19 05:27:49 +00:00
2017-12-30 04:03:53 +00:00
2018-09-29 13:01:23 +00:00
2018-05-11 20:08:28 +00:00
2018-05-11 20:08:28 +00:00
2018-05-11 20:08:28 +00:00
2018-10-12 22:40:54 +00:00
2018-10-12 22:40:54 +00:00
2018-10-12 22:40:54 +00:00
2017-11-20 19:43:44 +00:00
2018-07-20 17:45:26 +00:00
2018-07-20 17:45:26 +00:00
2017-11-27 15:23:17 +00:00
2018-07-24 16:35:52 +00:00
2017-11-27 15:23:17 +00:00
2018-04-12 07:20:50 +00:00
2018-04-12 07:20:50 +00:00
2018-04-12 07:20:50 +00:00
2018-04-12 07:20:50 +00:00
2018-03-23 16:56:44 +00:00
2018-03-23 16:56:44 +00:00
2017-11-20 19:43:44 +00:00
2018-08-22 19:38:48 +00:00
2018-06-16 08:26:23 +00:00
2017-11-20 19:43:44 +00:00
2018-06-16 08:26:23 +00:00
2018-06-16 19:21:09 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-07-24 03:59:50 +00:00
2018-06-16 08:26:23 +00:00
2018-07-24 16:35:52 +00:00
2018-09-03 22:10:49 +00:00
2017-10-11 06:08:01 +00:00
2017-10-11 06:08:01 +00:00
2018-07-24 16:35:52 +00:00
2017-12-05 18:42:07 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2018-07-30 14:25:17 +00:00
2018-09-12 08:05:33 +00:00