commit | 6d50b4798736bae4ae2224891fc4413c9ea88241 | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Jan 27 14:22:52 2017 +0200 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Feb 03 15:59:13 2017 +0200 |
tree | 702b9382b12e03e85630af64c5a8e0739a18df02 | |
parent | e440759dbb671a9f702cbcbb5b3463b4d44ebf09 [diff] |
net: tcp: Call connect callback later If the user supplied connect callback uses too much time, then it is possible that the connect_wait semaphore will timeout even if the TCP connection was established correctly. This issue can be avoided if connect_cb is called after we have released the connect_wait semaphore. Change-Id: I175e80f2ad48de657d0d99a44340c5ee1a17364c Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>