mkae the new 'void *dst' member part of a union with the trx pointer

this ensures struct msgb is the same size as before, which will ensure
binary compatibility
This commit is contained in:
Harald Welte 2011-07-18 16:59:27 +02:00
parent 2ade3a0222
commit c5a0ded53f
1 changed files with 4 additions and 3 deletions

View File

@ -29,12 +29,13 @@
struct msgb {
struct llist_head list;
/* routing information. */
void *dst;
/* Part of which TRX logical channel we were received / transmitted */
/* FIXME: move them into the control buffer */
struct gsm_bts_trx *trx;
union {
void *dst;
struct gsm_bts_trx *trx;
};
struct gsm_lchan *lchan;
/* the Layer1 header (if any) */