tcp: tcp_output.c failed to compile when VLIB_BUFFER_TRACE_TRAJECTORY is enabled 77/10377/1
authorSteven <sluong@cisco.com>
Thu, 1 Feb 2018 17:17:17 +0000 (09:17 -0800)
committerSteven <sluong@cisco.com>
Thu, 1 Feb 2018 17:17:17 +0000 (09:17 -0800)
Fixed a typo in tcp_push_header(). The typo only kicks in when the macro
VLIB_BUFFER_TRACE_TRAJECTORY is enabled.

Change-Id: I62832a4932ec5b14e3063d5eac113780851aae59
Signed-off-by: Steven <sluong@cisco.com>
src/vnet/tcp/tcp_output.c

index 0eef942..78d6413 100644 (file)
@@ -1973,7 +1973,7 @@ tcp_push_header (transport_connection_t * tconn, vlib_buffer_t * b)
       tc->rtt_ts = tcp_time_now ();
       tc->rtt_seq = tc->snd_nxt;
     }
-  tcp_trajectory_add_start (b0, 3);
+  tcp_trajectory_add_start (b, 3);
   return 0;
 }