<p>laforge <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/22555">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ns2: Work around AF_PACKET socket ENOBUFS problems<br><br>AF_PACKET sockets cannot be written-to using select(), as they<br>will always return "writable" but then still fail with ENOBUFS.<br><br>This also means that we cannot use osmo_wqueue() as it assumes<br>that a writable socket can actually be written to.<br><br>As there's no way to figure out when exactly we can again perform<br>a successful write, we have no other option but to start a timer<br>and re-try at a later time.<br><br>We will scale that timer based on the estimated duration of transmission<br>for the just-failed PDU on the line rate of a 31TS E1 Line.<br><br>Furthermore, with this patch, we stop queueing anything but signaling<br>traffic (NS-BVCI=0) or Q.933 LMI.  User data (NS-BVCI != 0) will<br>instead be dropped in order to avoid buffer-bloat.<br><br>Change-Id: I4f79a246236c94175ceffa5f3f556c8931c6bc62<br>Closes: OS#4995<br>---<br>M src/gb/gprs_ns2_fr.c<br>1 file changed, 166 insertions(+), 25 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/55/22555/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/22555">change 22555</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/libosmocore/+/22555"/><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-Change-Id: I4f79a246236c94175ceffa5f3f556c8931c6bc62 </div>
<div style="display:none"> Gerrit-Change-Number: 22555 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: daniel <daniel@totalueberwachung.de> </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>