commit | cdec73d21e7f47cd41230fc359e03c79d0f0fb7f | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Tue Aug 15 21:46:36 2017 +0300 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Aug 16 14:50:57 2017 -0400 |
tree | 6cd581a2713df5aec900122df1b9428775cd18f7 | |
parent | f8ea1a59ea7c7567ef0fd59b57f012cedde44515 [diff] |
net: tcp: Only do ref when resending if we could send the packet If the packet sending is slow then we must NOT increment the ref count when re-sending it. This is unlikely but can happen if there are lot of debug prints etc. extra activities that prevent the driver to actually send the packet fast enough. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>