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-10-22 06:44:20 +00:00
2018-10-22 22:24:32 +00:00
2018-10-22 22:24:32 +00:00
2018-10-22 02:36:07 +00:00
2018-10-21 02:08:57 +00:00
2018-10-22 21:50:43 +00:00
2018-10-23 08:55:16 +00:00
2018-10-22 18:29:12 +00:00
2018-10-22 01:27:11 +00:00
2018-10-20 20:45:49 +00:00
2018-10-23 12:53:09 +00:00
2018-10-18 15:17:58 +00:00
2018-10-22 15:33:05 +00:00
2018-10-05 17:53:47 +00:00
2018-08-23 13:21:01 +00:00
2018-10-22 02:36:18 +00:00
2018-09-26 17:12:14 +00:00
2018-10-23 04:37:29 +00:00
2018-07-18 00:56:25 +00:00
2018-10-20 22:39:35 +00:00
2018-10-22 22:24:32 +00:00
2018-10-22 02:36:18 +00:00
2018-10-23 13:03:03 +00:00
2018-08-10 20:37:32 +00:00
2018-08-26 12:51:46 +00:00
2018-10-22 21:17:36 +00:00
2018-10-22 16:09:01 +00:00
2018-10-21 14:19:16 +00:00
2018-10-21 16:44:57 +00:00
2018-07-30 15:46:40 +00:00
2018-09-09 07:20:15 +00:00
2018-09-26 20:23:12 +00:00
2018-10-22 22:24:32 +00:00
2018-10-22 22:24:32 +00:00
2018-07-20 12:03:16 +00:00
2018-10-02 15:58:17 +00:00
2018-10-22 22:24:32 +00:00
2018-10-22 22:24:32 +00:00
2018-10-21 08:29:36 +00:00
2018-08-23 13:23:21 +00:00
2018-09-22 17:05:49 +00:00
2018-10-22 20:13:51 +00:00
2018-10-22 22:24:32 +00:00
2018-09-13 07:14:11 +00:00