B.A.T.M.A.N Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <ordex@autistici.org>
Subject: Re: [B.A.T.M.A.N.] [PATCHv2 maint] batman-adv: reorder clean up routine in order to avoid race conditions
Date: Thu, 9 May 2013 17:31:33 +0800	[thread overview]
Message-ID: <201305091731.33754.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1367881578-3353-1-git-send-email-ordex@autistici.org>

On Tuesday, May 07, 2013 07:06:18 Antonio Quartulli wrote:
> nc_worker accesses the originator table during its periodic
> work, but since the originator table is freed before
> stopping the worker this leads to a global protection fault.
> 
> Fix this by killing the worker (in nc_free) before freeing
> the originator table.
> 
> Moreover tidy up the entire clean up routine by running all
> the subcomponents freeing procedures first and then killing
> the TT and the originator tables at the end.
> 
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
> 
> v2:
> - based on top of maint
> - commit message reworded
> 
>  main.c | 16 ++++++++++++----
>  1 file changed, 12 insertions(+), 4 deletions(-)

Applied in revision 763f413.

Thanks,
Marek

      reply	other threads:[~2013-05-09  9:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-06 23:06 [B.A.T.M.A.N.] [PATCHv2 maint] batman-adv: reorder clean up routine in order to avoid race conditions Antonio Quartulli
2013-05-09  9:31 ` Marek Lindner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201305091731.33754.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=ordex@autistici.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox