From: David Miller <davem@davemloft.net>
To: xemul@openvz.org
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 1/2][BRIDGE]: Net device leak in br_add_bridge().
Date: Sun, 04 May 2008 17:57:36 -0700 (PDT) [thread overview]
Message-ID: <20080504.175736.178493567.davem@davemloft.net> (raw)
In-Reply-To: <481D5C01.30906@openvz.org>
From: Pavel Emelyanov <xemul@openvz.org>
Date: Sun, 04 May 2008 10:47:29 +0400
> In case the register_netdevice() call fails the device is leaked,
> since the out: label is just rtnl_unlock()+return.
>
> Free the device.
>
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Applied.
prev parent reply other threads:[~2008-05-05 0:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-04 6:47 [PATCH 1/2][BRIDGE]: Net device leak in br_add_bridge() Pavel Emelyanov
2008-05-05 0:57 ` David Miller [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=20080504.175736.178493567.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=xemul@openvz.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;
as well as URLs for NNTP newsgroup(s).