Kristof Provost
2f8fb3a868
pf: Fix possible shutdown race
...
Prevent possible races in the pf_unload() / pf_purge_thread() shutdown
code. Lock the pf_purge_thread() with the new pf_end_lock to prevent
these races.
Use a shared/exclusive lock, as we need to also acquire another sx lock
(VNET_LIST_RLOCK). It's fine for both pf_purge_thread() and pf_unload()
to sleep,
Pointed out by: eri, glebius, jhb
Differential Revision: https://reviews.freebsd.org/D10026
2017-03-22 21:18:18 +00:00
..
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-13 09:04:10 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-15 07:22:47 +00:00
2017-02-26 00:19:02 +00:00
2017-01-18 13:31:17 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-01-25 21:25:26 +00:00
2017-01-25 21:25:26 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-01-18 13:31:17 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-01 05:38:04 +00:00
2017-02-28 23:42:47 +00:00
2017-02-22 02:35:59 +00:00
2017-02-28 23:42:47 +00:00
2017-03-07 00:13:53 +00:00
2017-02-06 08:49:57 +00:00
2017-02-22 02:35:59 +00:00
2017-01-30 03:04:33 +00:00
2017-01-30 03:04:33 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-01-20 17:16:48 +00:00
2017-03-08 08:09:41 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-01-18 13:31:17 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-13 22:53:06 +00:00
2017-03-14 22:25:07 +00:00
2017-03-13 22:53:06 +00:00
2017-02-28 23:42:47 +00:00
2017-02-19 02:03:09 +00:00
2017-03-07 00:13:53 +00:00
2017-03-22 21:18:18 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00