osmo-msc/openbsc/tests/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 filter: Separate SCCP/BSSAP extraction and gsm48 code 2015-05-03 21:42:28 +02:00
barr.cfg nat: Introduce a global IMSI barr list using red-black trees 2013-01-07 15:02:34 +01:00
barr_dup.cfg nat: Introduce a global IMSI barr list using red-black trees 2013-01-07 15:02:34 +01:00
bsc_data.c nat: Forward SDP files with multiple payload types in it 2015-08-13 18:53:10 +02:00
bsc_nat_test.c filter/nat: Fix the context for the imsi assignment 2016-05-25 19:43:38 +00:00
bsc_nat_test.ok nat: Extract the LAC/CI from the Complete Layer3 Information 2013-04-16 14:14:17 +02:00
prefixes.csv nat: Implement a post-routing for the NAT software 2013-07-31 16:36:40 +02:00