git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be0c007
)
bridge: Net device leak in br_add_bridge().
author
Pavel Emelyanov
<xemul@openvz.org>
Mon, 5 May 2008 00:57:29 +0000
(17:57 -0700)
committer
David 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