diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-01-05 18:43:39 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-01-05 18:46:23 +0100 |
commit | 51028e2c16820d50808900f2003310d8dcbf2d49 (patch) | |
tree | 73a9c94e215c937a699a3ab1d5bef546403b52ba /src/sgsn/sgsn_libgtp.c | |
parent | e69f460ae7d0f12999cc967bc4c362399a0892d0 (diff) |
Properly split llc->sndcp->gtp unitdata pathi through extra func call
Beforehand the function handling the LL-UNITDATA primitive from LLC was
already submitting the packet to GTP code which had an SNDCP related
name, so everything was really confusing and layer separation was not
clean.
Change-Id: Ia544a9dd4c0c7647b0c1b64ca110351f40820618
Diffstat (limited to 'src/sgsn/sgsn_libgtp.c')
-rw-r--r-- | src/sgsn/sgsn_libgtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sgsn/sgsn_libgtp.c b/src/sgsn/sgsn_libgtp.c index 58e912d45..f76180a27 100644 --- a/src/sgsn/sgsn_libgtp.c +++ b/src/sgsn/sgsn_libgtp.c @@ -809,7 +809,7 @@ static int cb_data_ind(struct pdp_t *lib, void *packet, unsigned int len) } /* Called by SNDCP when it has received/re-assembled a N-PDU */ -int sgsn_rx_sndcp_ud_ind(struct gprs_ra_id *ra_id, int32_t tlli, uint8_t nsapi, +int sgsn_gtp_data_req(struct gprs_ra_id *ra_id, int32_t tlli, uint8_t nsapi, struct msgb *msg, uint32_t npdu_len, uint8_t *npdu) { struct sgsn_mm_ctx *mmctx; |