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-05-31 09:11:21 +00:00
2018-10-03 07:35:16 +00:00
2018-10-03 07:35:16 +00:00
2018-10-21 16:51:35 +00:00
2018-05-19 05:27:49 +00:00
2018-06-16 19:21:09 +00:00