From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Simon Wunderlich <simon@open-mesh.com>
Subject: Re: [B.A.T.M.A.N.] [PATCHv4] batman-adv: remove obsolete deleted attribute for gateway node
Date: Tue, 04 Aug 2015 04:07:56 +0800 [thread overview]
Message-ID: <7075625.HBap74ta9e@voltaire> (raw)
In-Reply-To: <1438622038-20514-1-git-send-email-sw@simonwunderlich.de>
[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]
On Monday, August 03, 2015 19:13:58 Simon Wunderlich wrote:
> From: Simon Wunderlich <simon@open-mesh.com>
>
> With rcu, the gateway node deleted attribute is not needed anymore. In
> fact, it may delay the free of the gateway node and its referenced
> structures. Therefore remove it altogether and simplify purging as well.
>
> Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
> ---
> Changes to PATCHv3:
> * remove unused variables
>
> Changes to PATCHv2:
> * use hlist_del_init_rcu() instead of looping through the list
> * rename batadv_gw_node_purge() to batadv_gw_node_free() and remove
> obsolete mesh state check
>
> Changes to PATCH:
> * iterator through list to remove the element when deleting to
> avoid possible double list remove
> ---
> net/batman-adv/gateway_client.c | 48
> +++++++++++------------------------------ net/batman-adv/gateway_client.h
> | 2 +-
> net/batman-adv/main.c | 2 +-
> net/batman-adv/originator.c | 1 -
> net/batman-adv/types.h | 2 --
> 5 files changed, 14 insertions(+), 41 deletions(-)
Applied in revision 0511575.
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
prev parent reply other threads:[~2015-08-03 20:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-03 17:13 [B.A.T.M.A.N.] [PATCHv4] batman-adv: remove obsolete deleted attribute for gateway node Simon Wunderlich
2015-08-03 20:07 ` 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=7075625.HBap74ta9e@voltaire \
--to=mareklindner@neomailbox.ch \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=simon@open-mesh.com \
/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.