tag | 6ec9c65b424758d7b4270e1c35887556613e4573 | |
---|---|---|
tagger | Harald Welte <laforge@gnumonks.org> | Tue Jun 18 21:46:17 2013 +0200 |
object | 087116aca771ae3cd2dcbcbd8cb63a91dfc75f20 |
tag 0.6.1, including the LAPD(m) fix for removing trailing padding bytes
commit | 087116aca771ae3cd2dcbcbd8cb63a91dfc75f20 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Tue Jun 18 21:41:34 2013 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Tue Jun 18 21:41:34 2013 +0200 |
tree | a3e8fcb7e592dae243ae11e8585adca9a2526af4 | |
parent | 1e4400d26a7e3a947a1d6235e7d0615506311860 [diff] |
lapd_core: msgb_trim() the L2 padding from ESTABLISH.ind When a SABM(E) frame arrives, we have to trim the L2 padding (0x2b for gsm) before handing the data off to L3, just like we do with I frames. Also, we should use mggb_trim() or even msgb_l3trim() instead of manually fiddling with msgb->length and ->tail pointers.