aboutsummaryrefslogtreecommitdiffstats
path: root/TODO-RELEASE
AgeCommit message (Collapse)AuthorFilesLines
2020-01-02Bump version: 1.4.0.32-bd8f-dirty → 1.5.01.5.0Pau Espin Pedrol1-2/+0
Change-Id: I84bbe9eff37e14985b812b49e53eb6d62fff14a5
2019-08-23libgtp: Remove packets in tx queue belonging pdp being freedPau Espin Pedrol1-0/+2
Doing so should avoid the crash seen in OS#3956, where a message is received in osmo-sgsn gtp iface after having received a DeleteCtxAccept message where pdp and associated cbp is freed. As a result, when new confirmation arrives, it can still be matched against an old request and be sent to upper layers providing an already freed cbp. With this patch, since all queued messages belonging to that pdp are dropped, confirmation won't find a match and be discarded in libgtp. In order to be able to drop all req messages belonging to a pdp, a new list is added to pdp_t and qmsg_t are added to that list when inserted into the per-gsn req transmit queue. This way upon pdp free time it's simply a matter of iterating over that list to remove all messages. There's no need to do same for resp queue, and it'd be actually counter-productive, because it wouldn't be possible to detect and discard duplicates anymore after pdp ctx has been freed. Related: OS#3956 Change-Id: Id86d0b241454d3ad49c64c28087fd2710fa2d17a
2019-08-07Bump version: 1.3.0.50-ea1c-dirty → 1.4.01.4.0Pau Espin Pedrol1-3/+0
Change-Id: I5ca7ada037a9b91c3b747cea6d83654d0b9afed3
2019-06-04gtp: Introduce new pdp APIs (and deprecate old ones) to support multiple GSNPau Espin Pedrol1-0/+3
Move static global pdp storage arrays to be per GSN. This way now several GSN per process are supported without collisions. * pdp_init() is defined in public API but it's actually only intended for use (and currently only used) internally in gtp_new(). So let's document that and re-use it for backward compatibility with now deprecated API, where only one GSN per process is supported. * Back pointer to gsn_t (pdp->gsn) moved from gtp.c:gtp_new() to gtp_pdp_newpdp(), since it makes more sense to have it there. This way backpointer is always set, even in case were app calls pdp_newpdp() API directly instead of creating them through gtp.c, like osmo-sgsn does. * Create new versions of required APIs with a pointer to gsn_t where the pdp ctx is to be created/found. Some APIs receiving a pointer to a pdp ctx can be left intact because we have a backpointer to its gsn_t. * pdp_getpdp() is nowhere used, and makes little sense now that we have pdpa reachable in gsn->pdpa, so let's deprecate it without adding a replacement. * Deprecate gtp.h gtp_newpdp(), since it's nowhere used and useless (does same as new gtp_pdp_newpdp() and doesn't allow for old_pdp to be passed as parameter). Fixes: OS#2873 Change-Id: I653cbdc185165592d985e3efab6e3f1add97877b
2019-01-20Bump version: 1.2.2.44-6da8-dirty → 1.3.01.3.0Harald Welte1-1/+0
Change-Id: Ie12af1d57df178a9ab27937ef0b764c98dd96e32
2018-11-22properly store IPv6 addresses in struct tun_tStefan Sperling1-0/+1
All addresses in struct tun_t were stored as an in_addr. But IPv6 addresses need an in6_addr, so switch tun_t addresses to the in64_addr wrapper struct. This is an ABI break, as documented in TODO-RELEASE. Fixes an out of bounds memcpy() identified by Coverity. Change-Id: Idd2431ad25d7fa182e52e2bd5231ceb04d427c34 Related: CID#174278
2017-10-28Tag/Release Version 1.1.01.1.0Harald Welte1-2/+0
Change-Id: I30a9e72fa9c3d6fc755c5531844b663c08c3ac06
2017-09-25Move extended PDP logging macro to headerMax1-0/+1
It might be useful for any user of libgtp who uses libosmocore so let's make generalized version of it available as part of installable header. Change-Id: I79aba10ef989384a28f059c30899e65c771ae5e1 Related: SYS#3610
2017-09-24libgtp: Allow each PDP context to specify if it transmits G-PDU sequence numbersHarald Welte1-0/+1
GTP sequence numbers on GTP-U are optional for G-PDU type messages (i.e. user-ip messages). Let's allow the user to specify this behavior by a new pdu_t.tx_gpdu_seq flag. The flag is enabled by default to stay compatible with the prior behaviour. Related: OS#2519 Change-Id: Icf22a2ddd5c4a968ef5bda7c202b921d93fb49e6
2017-08-28Use release helper from libosmocoreMax1-0/+9
See https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release for details. Change-Id: Icdcb388ad22b0c009dac7968408d1e2504c838c1 Related: OS#1861