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:
Masayuki Ishikawa 2018-08-03 01:25:53 +00:00 committed by GregoryN
parent 09ccd43d61
commit ac5b2ea049
1 changed files with 0 additions and 1 deletions

View File

@ -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);
#ifdef CONFIG_NET_STATISTICS
g_netstats.tcp.syndrop++;
g_netstats.tcp.drop++;
#endif
/* Clear the TCP_SNDACK bit so that no ACK will be sent */