<p>laforge <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/titan.TestPorts.AF_PACKET/+/22539">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add module parameter "sleep_on_enobufs" to work around -ENOBUFS<br><br>AF_PACKET sockets have these incredibly useful semantics in where<br>for both non-blocking and blocking I/O, they will tell you the<br>socket is rwite-able, but then still return -1 and sett errno=ENOBUFS<br>if the current socket buffer / transmit queue is full.<br><br>All we can do is usleep and retry.  The new module parameter, if set<br>to non-zero, determines the number of microseconds we shall sleep before<br>any retry.  If set to zero, the existing behavior is preserved:<br>TTCN_error().<br><br>Related: SYS#5343<br>Change-Id: I1608403d94a10ae52c7e1de0f1b02687b048c01e<br>---<br>M src/AF_PACKET_PT.cc<br>M src/AF_PACKET_PT.hh<br>2 files changed, 17 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/titan.TestPorts.AF_PACKET refs/changes/39/22539/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/titan.TestPorts.AF_PACKET/+/22539">change 22539</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/titan.TestPorts.AF_PACKET/+/22539"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: titan.TestPorts.AF_PACKET </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I1608403d94a10ae52c7e1de0f1b02687b048c01e </div>
<div style="display:none"> Gerrit-Change-Number: 22539 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>