bridge: Net device leak in br_add_bridge().
authorPavel Emelyanov <xemul@openvz.org>
Mon, 5 May 2008 00:57:29 +0000 (17:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2008 00:57:29 +0000 (17:57 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found