osmo-msc/openbsc/src/osmo-bsc_nat
Holger Hans Peter Freyther 5b692d0a5c filter/nat: Fix the context for the imsi assignment
In c09f8a3b7f as part of a cleanup
I accidently changed the talloc context from "con" to "bsc". The
issue occurred at an earlier commit when assigning req.ctx to the
"wrong" context. The allocation needs to be scoped by the struct
nat_sccp_connection and not the connection from BSC to NAT.

Before we have a nat_sccp_connection we scope the copied imsi to
the bsc_connection and then steal it, but for the identity resp
we will always have a nat_sccp_connection and can already use the
right context.

Change-Id: I53789aad2809e19338ad3b2deb72c4757e7bd524
Related: OS#1733
Reviewed-on: https://gerrit.osmocom.org/102
Tested-by: Jenkins Builder
Reviewed-by: Harald Welte <laforge@gnumonks.org>
Reviewed-by: daniel <dwillmann@sysmocom.de>
Reviewed-by: Holger Freyther <holger@freyther.de>
2016-05-25 19:43:38 +00:00
..
Makefile.am nat: Use RAND_bytes instead of /dev/urandom 2015-07-01 08:34:16 +02:00
bsc_filter.c nat: Remember the original dest local reference in the parsed struct 2013-09-03 15:04:43 +02:00
bsc_mgcp_utils.c osmux: Make sure that bigger Osmux ids actually fit 2015-10-12 09:11:25 +02:00
bsc_nat.c move utils.h functions to libosmocore 2016-04-29 13:10:37 +02:00
bsc_nat_ctrl.c enable ctrl bind config for various programs 2016-02-25 12:18:04 +01:00
bsc_nat_filter.c filter/nat: Fix the context for the imsi assignment 2016-05-25 19:43:38 +00:00
bsc_nat_rewrite.c 04.08: apply new bitmask functions, fix bitmask use 2016-03-15 14:15:00 +01:00
bsc_nat_rewrite_trie.c 64bit: Fix compiler warnings in regard to 64bit 2015-08-03 12:01:44 +02:00
bsc_nat_utils.c NAT: allow allocating BSC in arbitrary order 2016-04-12 10:15:02 -04:00
bsc_nat_vty.c nat/vty: Do not print token update statement 2016-04-16 15:56:13 -04:00
bsc_sccp.c nat: Rename "struct sccp_connections" to "struct nat_sccp_connection" 2013-04-16 09:53:13 +02:00
bsc_ussd.c use new libosmocore gsm_23_003.h for IMEI/IMSI length 2016-04-29 13:10:37 +02:00