Change in osmo-bsc[master]: inter-BSC HO outgoing: fix L3 forwarding

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Sep 6 14:35:47 UTC 2018


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/10809


Change subject: inter-BSC HO outgoing: fix L3 forwarding
......................................................................

inter-BSC HO outgoing: fix L3 forwarding

Set msgb->l3h when composing the L3 message. Before this, the unset l3h
resulted in erratic size in the RSL L3 Info IE. This likely fixes inter-BSC
Handover on the outgoing side, to properly forward the RR Handover Command.

Change-Id: Ice37242c90c19adbf0795618fd16fe75f0809317
---
M src/osmo-bsc/abis_rsl.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/09/10809/1

diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index 0dd27fd..a3c889e 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -689,7 +689,7 @@
 		return -EINVAL;
 
 	msg = rsl_msgb_alloc();
-	dst = msgb_put(msg, l3_info_len);
+	msg->l3h = dst = msgb_put(msg, l3_info_len);
 	memcpy(dst, l3_info, l3_info_len);
 
 	msg->lchan = lchan;

-- 
To view, visit https://gerrit.osmocom.org/10809
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice37242c90c19adbf0795618fd16fe75f0809317
Gerrit-Change-Number: 10809
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180906/d3ba9cef/attachment.htm>


More information about the gerrit-log mailing list