commit | ccd2312d10e14747e8a4d26d8f72b052ffcfc282 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Sun May 24 16:48:22 2015 +0800 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Mon May 25 15:39:59 2015 +0800 |
tree | d13db06433eb26f92f51c23b79376e9e83db4973 | |
parent | 7605bdc02c011d9d7f5d24458c65948ac7bf501a [diff] |
sgsn: Create a copy of the msgb for later usage When needing to do an asynchronous DNS query we need to keep the TLV data around. So create a wrapper that takes a copy of it and frees it after the call. I can change the code to add an out parameter to decide if the msgb should be freed or not. Pick network failure in case the msgb could not be cloned in the hope the MS will retry then.