Andrey V. Elsukov
221022e190
Add the check that current VNET is ready and access to srchash is
...
allowed.
ipsec_srcaddr() callback can be called during VNET teardown, since
ingress address checking subsystem isn't VNET specific. And thus
callback can make access to already freed memory. To prevent this,
use V_ipsec_idhtbl pointer as indicator of VNET readiness. And make
epoch_wait() after resetting it to NULL in vnet_ipsec_uninit() to
be sure that ipsec_srcaddr() is finished its work.
Reported by: kp
MFC after: 20 days
2018-10-23 13:03:03 +00:00
..
2018-08-22 19:38:48 +00:00
2018-06-13 17:04:41 +00:00
2018-06-13 17:04:41 +00:00
2018-07-24 16:35:52 +00:00
2018-06-19 10:34:45 +00:00
2018-05-23 21:02:14 +00:00
2018-05-31 09:11:21 +00:00
2018-08-22 18:19:56 +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
2018-07-24 16:35:52 +00:00
2018-07-24 16:35:52 +00:00
2018-07-24 16:35:52 +00:00
2018-07-24 16:35:52 +00:00
2018-08-26 12:51:46 +00:00
2018-10-21 18:06:15 +00:00
2018-10-21 18:06:15 +00:00
2018-10-21 18:13:45 +00:00
2018-10-21 18:13:45 +00:00
2018-10-23 13:03:03 +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
2018-07-24 16:35:52 +00:00
2018-10-21 18:18:37 +00:00
2018-08-22 18:19:56 +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
2018-10-03 07:35:16 +00:00
2018-10-21 15:02:06 +00:00
2018-08-16 23:46:38 +00:00
2018-10-21 16:51:35 +00:00
2018-05-19 05:27:49 +00:00
2018-10-22 13:25:26 +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-23 04:37:29 +00:00
2018-10-12 22:40:54 +00:00
2018-07-20 17:45:26 +00:00
2018-07-20 17:45:26 +00:00
2018-07-24 16:35:52 +00:00
2018-10-23 08:55:16 +00:00
2018-10-23 08:55:16 +00:00
2018-08-22 19:38:48 +00:00
2018-06-16 08:26:23 +00:00
2018-06-16 08:26:23 +00:00
2018-06-16 19:21:09 +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
2018-07-24 16:35:52 +00:00
2018-07-30 14:25:17 +00:00
2018-09-12 08:05:33 +00:00