From 3a5f08c221b32381623e50095de2751183e994c4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 12 Jan 2012 23:12:28 +0100 Subject: lapdm: Make sure that the msgb_l3len(msg) == length... This code should not play with the internals of the msgb like this, this code got introduced in af48bed55607931307 and is breaking the osmo-bts usecase of forwarding an RSL message. Add a test case that fails without the new code. I would prefer if we could get rid of the manipulating the msgb like this, it is prone to errors like this one. --- tests/lapd/lapd_test.ok | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lapd/lapd_test.ok') diff --git a/tests/lapd/lapd_test.ok b/tests/lapd/lapd_test.ok index 058ac3d7..d67a0a80 100644 --- a/tests/lapd/lapd_test.ok +++ b/tests/lapd/lapd_test.ok @@ -9,8 +9,8 @@ ms_to_bts_tx_cb: BTS->MS(us) message 9 MS: Verifying incoming primitive. Sending back to MS -ms_to_bts_tx_cb: BTS->MS(us) message 21 -MS: Verifying incoming MM message. +ms_to_bts_tx_cb: BTS->MS(us) message 12 +MS: Verifying incoming MM message: 3 ms_to_bts_l1_cb: MS(us) -> BTS prim message Sending back to BTS -- cgit v1.2.3