From 71f62a52a2abaeb8b4fc8c70fde501fa7400417c Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Fri, 8 May 2020 10:02:18 +0200 Subject: nat: fix per thread data vlib_main_t usage take 2 The original fix access vlib_main before these was initialized. Removed cached vlib_mains structure. Type: fix Fixes: 9bb09afb56b1aa787ca574cc732085272059fd5f Signed-off-by: Ole Troan Change-Id: I686bab9220e27891f66bf60489c1602855786aa8 Signed-off-by: Ole Troan --- src/plugins/nat/nat.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/plugins/nat/nat.h') diff --git a/src/plugins/nat/nat.h b/src/plugins/nat/nat.h index 1245b850ed0..7b57166a7e1 100644 --- a/src/plugins/nat/nat.h +++ b/src/plugins/nat/nat.h @@ -489,9 +489,6 @@ typedef struct /* real thread index */ u32 thread_index; - // per thread data structures - vlib_main_t *vlib_main; - } snat_main_per_thread_data_t; struct snat_main_s; -- cgit 1.2.3-korg