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-03-22 17:29:04 +00:00
2017-03-22 14:30:02 +00:00
2017-03-22 07:05:27 +00:00
2017-03-22 20:06:29 +00:00
2017-03-22 19:18:47 +00:00
2017-03-17 12:34:57 +00:00
2017-03-22 19:20:39 +00:00
2017-03-22 14:30:02 +00:00
2017-03-08 02:47:59 +00:00
2017-01-28 02:22:15 +00:00
2017-03-18 07:01:18 +00:00
2017-03-22 17:06:57 +00:00
2017-03-05 03:05:24 +00:00
2017-03-13 13:56:01 +00:00
2017-03-07 13:56:49 +00:00
2017-03-22 17:29:04 +00:00
2017-02-28 23:42:47 +00:00
2017-03-22 05:27:20 +00:00
2017-03-14 06:00:44 +00:00
2017-03-17 22:02:02 +00:00
2017-03-19 19:10:23 +00:00
2017-03-22 21:18:18 +00:00
2017-03-19 23:05:03 +00:00
2017-01-20 00:02:11 +00:00
2017-03-21 16:23:44 +00:00
2017-03-17 16:50:37 +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-03-22 15:46:31 +00:00
2017-03-17 21:40:14 +00:00
2017-02-05 00:32:12 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-22 18:45:13 +00:00
2017-03-18 11:13:54 +00:00
2017-03-10 22:45:07 +00:00
2017-02-28 23:42:47 +00:00
2017-03-19 19:52:47 +00:00
2017-03-16 09:33:36 +00:00
2017-03-07 09:17:48 +00:00
2017-01-28 02:22:15 +00:00