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] batman-adv: free the dat hash only if not NULL
Date: Thu, 1 Nov 2012 12:47:01 +0800 [thread overview]
Message-ID: <201211011247.01523.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1351521488-17271-1-git-send-email-ordex@autistici.org>
On Monday, October 29, 2012 22:38:08 Antonio Quartulli wrote:
> It could be the case that the user tries to disable DAT when it is already
> disabled. To prevent kernel oops, batadv_dat_hash_free() has to check for
> the hash table pointer being different from NULL before to try to free it.
>
> This was introduced by ("batman-adv: Distributed ARP Table - add runtime
> switch")
>
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
> distributed-arp-table.c | 3 +++
> 1 file changed, 3 insertions(+)
Applied in revision 59f8434.
Thanks,
Marek
prev parent reply other threads:[~2012-11-01 4:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 14:38 [B.A.T.M.A.N.] [PATCH] batman-adv: free the dat hash only if not NULL Antonio Quartulli
2012-11-01 4:47 ` 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=201211011247.01523.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