reass frag_n should to be inited to 0 57/11057/1
authorahdj007 <[email protected]>
Tue, 6 Mar 2018 07:46:54 +0000 (15:46 +0800)
committerMatus Fabian <[email protected]>
Fri, 9 Mar 2018 13:14:17 +0000 (13:14 +0000)
Change-Id: I8a4a7a85e86acbfe411e6dfa22e3976d7d4c903b
Signed-off-by: ahdj007 <[email protected]>
(cherry picked from commit 9f06d0eccf06b82b42cc55f02c37cbed9e1aab83)

src/plugins/nat/nat_reass.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index a97d8f0..2e80447
@@ -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))
     {