From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: remove references for global tt entries
Date: Wed, 19 Oct 2011 11:20:47 +0200 [thread overview]
Message-ID: <201110191120.48103.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1319014945-32281-1-git-send-email-siwu@hrz.tu-chemnitz.de>
On Wednesday, October 19, 2011 11:02:25 Simon Wunderlich wrote:
> struct tt_global_entry holds a reference to an orig_node which must be
> decremented before deallocating the structure.
>
> Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
> ---
> compat.c | 8 --------
> compat.h | 1 -
> translation-table.c | 14 +++++++++++++-
> 3 files changed, 13 insertions(+), 10 deletions(-)
>
> diff --git a/compat.c b/compat.c
> index 88ceb40..1793904 100644
> --- a/compat.c
> +++ b/compat.c
> @@ -36,12 +36,4 @@ void free_rcu_tt_local_entry(struct rcu_head *rcu)
> kfree(tt_local_entry);
> }
>
> -void free_rcu_tt_global_entry(struct rcu_head *rcu)
> -{
> - struct tt_global_entry *tt_global_entry;
> -
> - tt_global_entry = container_of(rcu, struct tt_global_entry, rcu);
> - kfree(tt_global_entry);
> -}
If you remove the function from compat.c please also remove its declaration in
compat.h.
Thanks,
Marek
next prev parent reply other threads:[~2011-10-19 9:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-19 9:02 [B.A.T.M.A.N.] [PATCH] batman-adv: remove references for global tt entries Simon Wunderlich
2011-10-19 9:20 ` Marek Lindner [this message]
2011-10-19 12:08 ` Marek Lindner
2011-10-23 9:40 ` Antonio Quartulli
2011-10-23 9:43 ` Alexey Fisher
2011-10-24 12:05 ` Marek Lindner
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=201110191120.48103.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.