diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-11-11 17:27:01 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-11-16 15:16:47 +0100 |
commit | 16c3f57ed63c65043561c6bb4cec2430d0537aff (patch) | |
tree | 24881d8f3920054357b393713015ef6e669716d2 /openbsc/src/ipaccess/ipaccess-proxy.c | |
parent | 3317c84c163a567e0d9405df6d4945689dac1f2c (diff) |
gtphub: fix numerous segfaults, and other stupidities.
Initialize llist_heads to empty (2 were missing). Move those for struct gtphub
instances to gtphub_zero() (one moved, one added).
In from_[gs]gsns_read_cb(), use a return type that can actually reflect
negative return values.
resolved_addr.buf: no need to take the address of a byte array var
(cosmetic).
Pass the proper user data address to sgsn_ares_query(), not the address of
the pointer holding the user data address.
Initialize ggsn_lookup->expiry_entry (was missing). Publish the function for that
in gtphub.h so gtphub_ext.c can use it.
Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/src/ipaccess/ipaccess-proxy.c')
0 files changed, 0 insertions, 0 deletions