diff options
author | Ole Troan <ot@cisco.com> | 2020-05-08 10:02:18 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-05-08 11:23:18 +0000 |
commit | 71f62a52a2abaeb8b4fc8c70fde501fa7400417c (patch) | |
tree | a7029fc7fe7659d3b5a6d990bb1b83b997b47002 /src/plugins/nat/nat.h | |
parent | 88d6ce2bee53b7c9f876aa78c5db8ab1ea75c08a (diff) |
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 <ot@cisco.com>
Change-Id: I686bab9220e27891f66bf60489c1602855786aa8
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat.h')
-rw-r--r-- | src/plugins/nat/nat.h | 3 |
1 files changed, 0 insertions, 3 deletions
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; |