[Olsr-dev] [PATCH v1 00/23] Invoke olsr_exit() instead of exit()

Ferry Huberts (spam-protected)
Wed Nov 11 15:15:29 CET 2015


This is now merged into master

On 06/11/15 16:28, Ferry Huberts wrote:
> From: Ferry Huberts <(spam-protected)>
>
> Invoking olsrt_exit() is the preferred way to exit since it tries to
> do cleanup.
>
> This is a requirement for further cleaning up the shutdown path, which
> currently has a lot a duplicated code and in general is a mess.
>
> Henning, please review.
>
> Ferry Huberts (23):
>    mdns: update a comment about exit
>    p2pd: update a comment about exit
>    dyngw: call olsr_exit() instead of exit()
>    httpinfo: call olsr_exit() instead of exit()
>    pgraph: call olsr_exit() instead of exit()
>    secure: call olsr_exit() instead of exit()
>    linux: call olsr_exit() instead of exit()
>    unix: call olsr_exit() instead of exit()
>    win32: call olsr_exit() instead of exit()
>    olsr: call olsr_exit() instead of exit()
>    plugin_loader: call olsr_exit() instead of exit()
>    quagga: clean up invocation of olsr_exit
>    build_msg: clean up invocation of olsr_exit
>    cookie: clean up invocation of olsr_exit
>    interfaces: clean up invocation of olsr_exit
>    lq_plugin: clean up invocation of olsr_exit
>    main: clean up invocation of olsr_exit
>    olsr: clean up invocation of olsr_exit
>    parser: clean up invocation of olsr_exit
>    quagga: clean up olsr_exit messages
>    linux: clean up olsr_exit messages
>    ipc_frontend: clean up olsr_exit messages
>    main: clean up olsr_exit messages
>
>   lib/dyn_gw/src/olsrd_dyn_gw.c     |  12 +---
>   lib/httpinfo/src/olsrd_httpinfo.c |   3 +-
>   lib/httpinfo/src/olsrd_plugin.c   |   8 +--
>   lib/mdns/src/mdns.c               |   2 +-
>   lib/p2pd/src/p2pd.c               |   2 +-
>   lib/pgraph/src/olsrd_pgraph.c     |   6 +-
>   lib/quagga/src/client.c           |  13 ++--
>   lib/quagga/src/packet.c           |   6 +-
>   lib/quagga/src/parse.c            |  12 ++--
>   lib/quagga/src/plugin.c           |   8 +--
>   lib/quagga/src/quagga.c           |   4 +-
>   lib/secure/src/olsrd_secure.c     |  10 +--
>   src/build_msg.c                   |   6 +-
>   src/interfaces.c                  |   3 +-
>   src/ipc_frontend.c                |   5 +-
>   src/linux/net.c                   |   2 +-
>   src/linux/nl80211_link_info.c     |   9 +--
>   src/lq_plugin.c                   |   5 +-
>   src/main.c                        | 140 ++++++++++++++++++++------------------
>   src/olsr.c                        |   7 +-
>   src/olsr_cookie.c                 |   7 +-
>   src/parser.c                      |   5 +-
>   src/plugin_loader.c               |   8 +--
>   src/unix/ifnet.c                  |   8 +--
>   src/win32/ifnet.c                 |   6 +-
>   src/win32/net.c                   |   3 +-
>   26 files changed, 146 insertions(+), 154 deletions(-)
>

-- 
Ferry Huberts



More information about the Olsr-dev mailing list