<p>lynxis lazus <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/25344">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, but someone else must approve
  daniel: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gprs_ns2: ensure the incoming NSVC is also the outgoing NSVC<br><br>Previous the SNS NSVC (the NSVC used for all SNS traffic) was never changed except<br>when the choosen NSVC went dead or got freed.<br>When receiving a SNS SIZE PDU over a different NSVC than the current SNS<br>NSVC the answer would be transmitted to a different port.<br><br>Change-Id: I36cd9488b8bca5cb99dae5cf50a55ee282e0557b<br>---<br>M src/gb/gprs_ns2_sns.c<br>1 file changed, 1 insertion(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gb/gprs_ns2_sns.c b/src/gb/gprs_ns2_sns.c</span><br><span>index c1be0ab..7619b66 100644</span><br><span>--- a/src/gb/gprs_ns2_sns.c</span><br><span>+++ b/src/gb/gprs_ns2_sns.c</span><br><span>@@ -2326,8 +2326,7 @@</span><br><span>       /* FIXME: how to resolve SNS FSM Instance by NSEI (SGSN)? */</span><br><span>         fi = nse->bss_sns_fi;</span><br><span>     gss = (struct ns2_sns_state *) fi->priv;</span><br><span style="color: hsl(0, 100%, 40%);">-     if (!gss->sns_nsvc)</span><br><span style="color: hsl(0, 100%, 40%);">-          gss->sns_nsvc = nsvc;</span><br><span style="color: hsl(120, 100%, 40%);">+      gss->sns_nsvc = nsvc;</span><br><span> </span><br><span>         LOGPFSML(fi, LOGL_DEBUG, "NSEI=%u Rx SNS PDU type %s\n", nsei,</span><br><span>              get_value_string(gprs_ns_pdu_strings, nsh->pdu_type));</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/25344">change 25344</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/+/25344"/><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: I36cd9488b8bca5cb99dae5cf50a55ee282e0557b </div>
<div style="display:none"> Gerrit-Change-Number: 25344 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>