diff options
author | Matthew Smith <mgsmith@netgate.com> | 2019-04-01 16:27:00 -0500 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-04-09 10:47:26 +0000 |
commit | 26e035bfcda580a8ce06df7498ca30e0a39b45ef (patch) | |
tree | c562137de47d41f862157f07ef0137f7c9eb5b33 /src/plugins/srv6-as | |
parent | 796c84b25130c99cfd92cc9281416d377d41d2a3 (diff) |
nat: initialize fq_in2out_output_index
When using the output feature ('postrouting') outbound translation,
no packets are passed when using worker threads. The frame queue for
in2out packets to be handed off between threads is never allocated.
This is because that allocation only happens if the value of
fq_in2out_output_index == ~0, but fq_in2out_output_index is never
initialized prior to checking that.
Initialize fq_in2out_output_index to ~0 so a frame queue will be
allocated when there are worker threads.
Change-Id: I0836685eb611348643c11ac7e4d0cab935a29384
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/plugins/srv6-as')
0 files changed, 0 insertions, 0 deletions