[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100227.025236.215054636.davem@davemloft.net>
Date: Sat, 27 Feb 2010 02:52:36 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: kaber@...sh.net
Cc: netdev@...r.kernel.org, fubar@...ibm.com
Subject: Re: bonding: fix device leak on error in bond_create()
From: Patrick McHardy <kaber@...sh.net>
Date: Fri, 26 Feb 2010 16:35:52 +0100
> commit f357a5caa0ca29b74811a0fc08efb5ae4aade959
> Author: Patrick McHardy <kaber@...sh.net>
> Date: Thu Feb 25 20:21:10 2010 +0100
>
> bonding: fix device leak on error in bond_create()
>
> When the register_netdevice() call fails, the newly allocated device is
> not freed.
>
> Signed-off-by: Patrick McHardy <kaber@...sh.net>
I think whether we should be checking for negative return values is
not something to gripe over, so I've applied this, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists