Hello,

attached are two patches I came across while looking at the
pablo/ctrl-updates branch in OpenBSC.

The first one is just a bugfix for a resource leak and the second one
adds a possibility to register a callback that will notify you if the
connection is lost. This is needed for the control interface as we'll
need to clean up some ctrlif related things if a connection is lost.

Be aware that I haven't tested this with the ctrl-updates branch since
this doesn't compile yet. I did test that master still compiles and
osmo-bsc/nat don't segfault on start (though openbsc doesn't seem to
use ipa_server_conn at the moment).
The e1inp_ipa_{bsc,bts}_test worked as well.

Regards,

Daniel Willmann (2):
  ipa: Fix resource leak if we encounter an error in
    ipa_server_conn_read
  ipa: Add a callback to detect if the server_conn was closed

 include/osmocom/abis/ipa.h |    3 ++-
 src/input/ipa.c            |    6 +++++-
 src/ipa_proxy.c            |    2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

-- 
1.7.6.1


Reply via email to