aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/crc24.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-08-21 15:07:11 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-02 09:53:38 +0200
commit4b663ac34a993cb1f1aa8e993dfc37bcb6841123 (patch)
treeafafe5a3fcf2f7d3c6a1149dc9928305545861ba /openbsc/src/gprs/crc24.c
parent299389a99fd7f839c3953a2cb48394b6679a6c84 (diff)
gbproxy: Create STATUS message with original PDU
Currently when patching is enabled and an error happens when receiving a message from the SGSN, the patched message is sent back with the PDU_IN_ERROR IE. This patch modifies gbprox_rx_sig_from_sgsn() to copy the message before it is patched, so that the original message can be used with the STATUS message. gbprox_rx_ptp_from_sgsn() does all checks before the message is patched, so copying is not necessary. Since gbprox_rx_sig_from_sgsn() is not called for BSSGP UNITDATA messages and the msgb is already been copied in the gbprox_relay2peer function, the relative performance impact is expected to be low. Note that the PDU IE of STATUS messages received from an MS and forwarded to the SGSN will not be patched. STATUS messages from the SGSN are only logged and not forwarded to the MS. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs/crc24.c')
0 files changed, 0 insertions, 0 deletions