Gleb Smirnoff
ea53792942
Fix races between in_lltable_prefix_free(), lla_lookup(),
...
llentry_free() and arptimer():
o Use callout_init_rw() for lle timeout, this allows us safely
disestablish them.
- This allows us to simplify the arptimer() and make it
race safe.
o Consistently use ifp->if_afdata_lock to lock access to
linked lists in the lle hashes.
o Introduce new lle flag LLE_LINKED, which marks an entry that
is attached to the hash.
- Use LLE_LINKED to avoid double unlinking via consequent
calls to llentry_free().
- Mark lle with LLE_DELETED via |= operation istead of =,
so that other flags won't be lost.
o Make LLE_ADDREF(), LLE_REMREF() and LLE_FREE_LOCKED() more
consistent and provide more informative KASSERTs.
The patch is a collaborative work of all submitters and myself.
PR: kern/165863
Submitted by: Andrey Zonov <andrey zonov.org>
Submitted by: Ryan Stone <rysto32 gmail.com>
Submitted by: Eric van Gyzen <eric_van_gyzen dell.com>
2012-08-02 13:57:49 +00:00
..
2011-04-13 11:28:46 +00:00
2012-08-02 12:45:13 +00:00
2011-04-12 08:13:18 +00:00
2012-06-13 18:57:27 +00:00
2011-11-07 15:43:11 +00:00
2011-04-12 08:13:18 +00:00
2012-03-04 18:47:20 +00:00
2012-06-18 17:11:24 +00:00
2010-12-15 22:58:45 +00:00
2012-08-02 13:57:49 +00:00
2012-06-19 07:34:13 +00:00
2012-07-03 19:04:18 +00:00
2012-07-31 08:04:49 +00:00
2011-10-15 16:28:06 +00:00
2011-06-28 11:57:25 +00:00
2012-01-24 14:27:14 +00:00
2012-06-12 14:02:38 +00:00
2012-06-12 14:02:38 +00:00
2011-06-06 12:55:02 +00:00
2012-01-09 08:50:22 +00:00
2010-11-22 19:32:54 +00:00
2012-07-18 08:41:00 +00:00
2012-08-02 13:57:49 +00:00
2012-06-12 14:02:38 +00:00
2010-11-27 21:51:39 +00:00
2012-07-25 12:14:39 +00:00
2011-12-20 13:53:31 +00:00
2012-01-22 10:41:58 +00:00
2010-12-05 01:09:48 +00:00
2012-05-03 08:56:43 +00:00
2012-01-22 10:41:58 +00:00
2012-06-18 17:11:24 +00:00
2012-07-04 07:37:53 +00:00
2012-01-22 02:13:19 +00:00
2012-07-02 19:44:18 +00:00
2012-07-02 19:44:18 +00:00
2010-10-14 12:32:49 +00:00
2012-07-18 08:58:30 +00:00
2011-12-29 20:41:16 +00:00
2012-05-04 21:00:32 +00:00
2012-01-02 09:18:58 +00:00
2012-07-15 20:16:17 +00:00
2012-06-28 16:01:08 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-06-24 21:25:54 +00:00
2012-06-24 21:25:54 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-06-28 16:01:08 +00:00
2012-06-28 16:01:08 +00:00
2012-07-14 19:44:39 +00:00
2012-07-02 16:44:09 +00:00
2012-05-23 11:26:28 +00:00
2012-06-28 16:01:08 +00:00
2012-05-23 11:26:28 +00:00
2012-07-15 20:16:17 +00:00
2012-06-28 16:01:08 +00:00
2012-07-17 13:03:47 +00:00
2012-06-28 16:01:08 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-06-25 17:15:09 +00:00
2012-06-25 17:15:09 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-07-26 08:10:29 +00:00
2012-07-15 20:16:17 +00:00
2012-05-23 11:26:28 +00:00
2012-05-25 11:14:08 +00:00
2012-07-17 13:03:47 +00:00
2012-06-28 16:01:08 +00:00
2011-05-30 09:43:55 +00:00
2012-07-03 18:59:13 +00:00
2012-07-22 17:31:36 +00:00
2012-06-01 11:42:50 +00:00
2012-05-24 23:03:23 +00:00
2012-06-19 07:34:13 +00:00
2012-06-19 07:34:13 +00:00
2012-07-16 07:08:34 +00:00
2011-11-27 02:32:08 +00:00
2011-03-28 19:03:56 +00:00
2012-02-15 16:09:56 +00:00
2012-06-19 07:34:13 +00:00
2012-06-19 07:34:13 +00:00
2012-06-19 07:34:13 +00:00
2012-06-19 07:34:13 +00:00
2012-02-05 16:53:02 +00:00
2012-05-28 09:30:13 +00:00
2012-06-19 07:34:13 +00:00
2012-06-19 07:34:13 +00:00
2012-02-05 16:53:02 +00:00
2012-06-19 07:34:13 +00:00
2012-06-19 07:34:13 +00:00
2012-06-12 14:56:08 +00:00
2012-03-27 15:14:29 +00:00
2011-01-07 21:40:34 +00:00