From: Marek Lindner <lindner_marek@yahoo.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH next] batman-adv: fix global protection fault during soft_iface destruction
Date: Thu, 18 Apr 2013 03:56:15 +0800 [thread overview]
Message-ID: <201304180356.15905.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1366227943-25134-1-git-send-email-ordex@autistici.org>
On Thursday, April 18, 2013 03:45:43 Antonio Quartulli wrote:
> batadv_mesh_free() schedules some RCU callbacks which need the bat_priv
> struct to do their jobs, while free_netdev(), which is called immediately
> after, is destroying the private data.
>
> Put an rcu_barrier() in the middle so that free_netdev() is invoked only
> after all the callbacks returned.
>
> This bug has been introduced by ab8f433dd39be94e8617cff2dfe9f7eca162eb15
> ("batman-adv: Move deinitialization of soft-interface to destructor")
>
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
>
>
> soft-interface.c | 7 +++++++
> 1 file changed, 7 insertions(+)
Applied in revision 73eb82e.
Thanks,
Marek
prev parent reply other threads:[~2013-04-17 19:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-17 19:45 [B.A.T.M.A.N.] [PATCH next] batman-adv: fix global protection fault during soft_iface destruction Antonio Quartulli
2013-04-17 19:56 ` 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=201304180356.15905.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@lists.open-mesh.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