From: Patrick McHardy Date: Sat, 27 Feb 2010 10:52:05 +0000 (-0800) Subject: bonding: fix device leak on error in bond_create() X-Git-Tag: v2.6.34-rc1~233^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d6184e4881b423522136aeb3ec1cbd9c35e8813;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed