<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmocom-bb/+/17263">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">layer23: Terminate process if L2 socket fails/dissappears<br><br>We don't recover from this situation at all, so it's best to<br>terminate the process.<br><br>Change-Id: I487d18e4afe2cae9f777a30864e680b5dc821fc1<br>---<br>M src/host/layer23/src/common/l1l2_interface.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/63/17263/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/host/layer23/src/common/l1l2_interface.c b/src/host/layer23/src/common/l1l2_interface.c</span><br><span>index c07b0a1..cd5f910 100644</span><br><span>--- a/src/host/layer23/src/common/l1l2_interface.c</span><br><span>+++ b/src/host/layer23/src/common/l1l2_interface.c</span><br><span>@@ -62,6 +62,7 @@</span><br><span>               if (rc >= 0)</span><br><span>                      rc = -EIO;</span><br><span>           layer2_close((struct osmocom_ms *) fd->data);</span><br><span style="color: hsl(120, 100%, 40%);">+              exit(102);</span><br><span>           return rc;</span><br><span>   }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmocom-bb/+/17263">change 17263</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/c/osmocom-bb/+/17263"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I487d18e4afe2cae9f777a30864e680b5dc821fc1 </div>
<div style="display:none"> Gerrit-Change-Number: 17263 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>