diff options
author | ahdj007 <dong.juan1@zte.com.cn> | 2018-03-06 15:46:54 +0800 |
---|---|---|
committer | Matus Fabian <matfabia@cisco.com> | 2018-03-09 13:14:17 +0000 |
commit | 308ed5c9e3aea3f4d0689ad293952c3978d296ce (patch) | |
tree | f7bdef7b7e6aeff3f77e3d8f366db948d769c245 | |
parent | f70cd9bdc644ed9da54b38321b6ae098398dd76f (diff) |
reass frag_n should to be inited to 0
Change-Id: I8a4a7a85e86acbfe411e6dfa22e3976d7d4c903b
Signed-off-by: ahdj007 <dong.juan1@zte.com.cn>
(cherry picked from commit 9f06d0eccf06b82b42cc55f02c37cbed9e1aab83)
-rwxr-xr-x[-rw-r--r--] | src/plugins/nat/nat_reass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/nat/nat_reass.c b/src/plugins/nat/nat_reass.c index a97d8f017e9..2e804477b26 100644..100755 --- a/src/plugins/nat/nat_reass.c +++ b/src/plugins/nat/nat_reass.c @@ -305,6 +305,7 @@ nat_ip4_reass_find_or_create (ip4_address_t src, ip4_address_t dst, reass->sess_index = (u32) ~ 0; reass->thread_index = (u32) ~ 0; reass->last_heard = now; + reass->frag_n = 0; if (clib_bihash_add_del_16_8 (&srm->ip4_reass_hash, &kv, 1)) { |