<p><a href="https://gerrit.osmocom.org/11912">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11912/4/src/gsm/ipa.c">File src/gsm/ipa.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11912/4/src/gsm/ipa.c@566">Patch Set #4, Line 566:</a> <code style="font-family:monospace,monospace">    if (errno == ECONNRESET && msg->l2h == NULL) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I still really don't understand why do we want to return 0 in this case and not ECONNRESET. What's wrong wit it? if we receive ECCONNRESET it means we sent some data and the peer host answered with a RST because no socket is bound there, so there's no use in keeping the connection alive. It's an error and conn should be cleared. I don't understand what you mean in your commit with "carry on".</p><p style="white-space: pre-wrap; word-wrap: break-word;">In any case, I still think there's no sense in having this code here instead of having it where only makes sense, that is under the if condition in line 613</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11912">change 11912</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11912"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I3cbdb3909660d605181d6923031336d296ea4340 </div>
<div style="display:none"> Gerrit-Change-Number: 11912 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 26 Nov 2018 13:21:10 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>