From: Sven Eckelmann <sven.eckelmann@gmx.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Marek Lindner <lindner_marek@yahoo.de>
Subject: Re: [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: decrease refcount of hard-interface when it gets removed
Date: Mon, 11 Oct 2010 09:54:09 +0200 [thread overview]
Message-ID: <201010110954.10005.sven.eckelmann@gmx.de> (raw)
In-Reply-To: <1286712994-30845-1-git-send-email-lindner_marek@yahoo.de>
[-- Attachment #1: Type: Text/Plain, Size: 702 bytes --]
Marek Lindner wrote:
> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
> ---
> batman-adv/hard-interface.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/batman-adv/hard-interface.c b/batman-adv/hard-interface.c
> index ec16dc9..afc2c3d 100644
> --- a/batman-adv/hard-interface.c
> +++ b/batman-adv/hard-interface.c
> @@ -44,6 +44,7 @@ static void hardif_free_rcu(struct rcu_head *rcu)
>
> batman_if = container_of(rcu, struct batman_if, rcu);
> sysfs_del_hardif(&batman_if->hardif_obj);
> + dev_put(batman_if->net_dev);
> kref_put(&batman_if->refcount, hardif_free_ref);
> }
Uh....
Acked-by: Sven Eckelmann <sven.eckelmann@gmx.de>
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2010-10-11 7:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-10 12:16 [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: decrease refcount of hard-interface when it gets removed Marek Lindner
2010-10-11 7:54 ` Sven Eckelmann [this message]
2010-10-12 9:47 ` Marek Lindner
2010-10-12 9:48 ` 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=201010110954.10005.sven.eckelmann@gmx.de \
--to=sven.eckelmann@gmx.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=lindner_marek@yahoo.de \
/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.