tag 0.6.1, including the LAPD(m) fix for removing trailing padding bytes
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.
1 file changed