Attention is currently required from: daniel, fixeria, laforge, osmith, pespin.

Hello Jenkins Builder, daniel, fixeria, laforge, osmith,

I'd like you to reexamine a change. Please visit

    https://gerrit.osmocom.org/c/libosmo-netif/+/38911?usp=email

to look at the new patch set (#6).

The following approvals got outdated and were removed:
Code-Review+1 by daniel, Verified+1 by Jenkins Builder


Change subject: stream_cli: Support destroy object within user callback
......................................................................

stream_cli: Support destroy object within user callback

This commit improves the code in stream_cli to allow the user calling
osmo_stream_cli_destroy() while in a callback.

For instance, the following scenario:
read_cb(len=0)
 osmo_stream_cli_reconnect()
  osmo_stream_cli_close()
   disconnect_cb
    [user calls osmo_stream_cli_destroy()]
 [popped stack does read_cb()]
   [user uses freed msg]

This allows using stream_cli by users handling destruction and reconnect
of stream_ci objects on their own, such as libosmo-abis
e1_input/sign_link stack.

Change-Id: I952938474fa2780bf3c906cbdffb2d024b03c1b7
---
M src/stream_cli.c
M tests/stream/stream_test.err
2 files changed, 149 insertions(+), 45 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/11/38911/6
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/38911?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I952938474fa2780bf3c906cbdffb2d024b03c1b7
Gerrit-Change-Number: 38911
Gerrit-PatchSet: 6
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Attention: osmith <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Attention: pespin <[email protected]>
Gerrit-Attention: fixeria <[email protected]>
Gerrit-Attention: daniel <[email protected]>

Reply via email to