Merged in masayuki2009/nuttx.nuttx/fix_tcp_statistics (pull request #703)
net/tcp: Remove g_netstats.tcp.syndrop++ from tcp_data_event() Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
09ccd43d61
commit
ac5b2ea049
|
@ -113,7 +113,6 @@ tcp_data_event(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
|
||||||
ninfo("Dropped %d bytes\n", dev->d_len);
|
ninfo("Dropped %d bytes\n", dev->d_len);
|
||||||
|
|
||||||
#ifdef CONFIG_NET_STATISTICS
|
#ifdef CONFIG_NET_STATISTICS
|
||||||
g_netstats.tcp.syndrop++;
|
|
||||||
g_netstats.tcp.drop++;
|
g_netstats.tcp.drop++;
|
||||||
#endif
|
#endif
|
||||||
/* Clear the TCP_SNDACK bit so that no ACK will be sent */
|
/* Clear the TCP_SNDACK bit so that no ACK will be sent */
|
||||||
|
|
Loading…
Reference in New Issue