Kristof Provost
eb03a44325
vlan: Fix panic when vnet jail with a vlan interface is destroyed
...
During vnet cleanup vnet_if_uninit() checks that no more interfaces remain in
the vnet. Any interface borrowed from another vnet is returned by
vnet_if_return(). Other interfaces (i.e. cloned interfaces) should have been
destroyed by their cloner at this point.
The if_vlan VNET_SYSUNINIT had priority SI_ORDER_FIRST, which means it had
equal priority as vnet_if_uninit(). In other words: it was possible for it to
be called *after* vnet_if_uninit(), which would lead to assertion failures.
Set the priority to SI_ORDER_ANY, like other cloners to ensure that vlan
interfaces are destroyed before we enter vnet_if_uninit().
The sys/net/if_vlan test provoked this.
2020-01-31 22:54:44 +00:00
..
2019-12-05 18:47:29 +00:00
2019-06-29 00:48:33 +00:00
2018-06-13 17:04:41 +00:00
2018-06-13 17:04:41 +00:00
2019-09-09 21:32:42 +00:00
2020-01-15 06:05:20 +00:00
2019-05-20 00:38:23 +00:00
2019-05-13 13:45:28 +00:00
2019-03-15 11:21:20 +00:00
2019-10-17 21:33:01 +00:00
2019-10-17 21:33:01 +00:00
2019-10-23 16:48:22 +00:00
2019-10-17 21:33:01 +00:00
2019-12-21 21:01:03 +00:00
2019-11-05 00:12:21 +00:00
2019-08-27 00:01:56 +00:00
2019-08-27 00:01:56 +00:00
2019-07-14 03:49:48 +00:00
2019-03-09 01:12:59 +00:00
2020-01-22 20:36:45 +00:00
2018-05-11 05:00:40 +00:00
2020-01-28 22:44:24 +00:00
2020-01-28 22:44:24 +00:00
2019-08-01 14:17:31 +00:00
2018-07-24 16:35:52 +00:00
2018-07-24 16:35:52 +00:00
2019-01-31 23:01:03 +00:00
2020-01-28 22:44:24 +00:00
2020-01-23 01:47:43 +00:00
2018-03-27 20:51:49 +00:00
2020-01-15 06:18:32 +00:00
2020-01-15 06:18:32 +00:00
2020-01-15 06:05:20 +00:00
2019-04-24 09:05:45 +00:00
2020-01-15 05:45:27 +00:00
2020-01-22 20:36:45 +00:00
2020-01-09 14:58:41 +00:00
2019-12-31 17:26:53 +00:00
2019-11-13 11:21:02 +00:00
2018-07-24 16:35:52 +00:00
2020-01-15 05:45:27 +00:00
2018-04-23 21:10:33 +00:00
2018-08-22 18:19:56 +00:00
2019-10-09 16:21:50 +00:00
2019-10-10 23:54:37 +00:00
2019-10-10 23:50:32 +00:00
2019-10-18 21:53:27 +00:00
2019-07-25 22:23:34 +00:00
2020-01-23 01:38:51 +00:00
2020-01-15 03:34:21 +00:00
2019-05-20 00:38:23 +00:00
2020-01-31 22:54:44 +00:00
2019-07-24 16:10:20 +00:00
2020-01-18 04:48:05 +00:00
2020-01-23 01:41:09 +00:00
2018-05-11 20:08:28 +00:00
2019-05-06 20:56:41 +00:00
2019-06-15 11:07:41 +00:00
2020-01-23 01:27:58 +00:00
2019-09-30 15:59:07 +00:00
2019-05-09 11:34:46 +00:00
2019-01-03 23:06:05 +00:00
2020-01-31 10:51:13 +00:00
2019-10-31 21:01:34 +00:00
2019-11-19 21:29:49 +00:00
2020-01-13 21:47:23 +00:00
2019-09-01 14:47:41 +00:00
2020-01-23 01:49:22 +00:00
2019-03-10 17:20:09 +00:00
2019-03-15 11:08:44 +00:00
2020-01-09 17:21:00 +00:00
2020-01-09 17:21:00 +00:00
2018-06-16 08:26:23 +00:00
2018-06-16 19:21:09 +00:00
2020-01-22 13:53:18 +00:00
2020-01-22 13:53:18 +00:00
2020-01-22 13:53:18 +00:00
2020-01-22 13:53:18 +00:00
2020-01-07 21:16:30 +00:00
2019-08-17 00:10:56 +00:00
2019-10-08 11:06:24 +00:00
2019-10-07 14:24:59 +00:00