commit | c37aa90b0458d87342e0bb083f6bf7d113220d09 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Sun May 04 17:57:29 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun May 04 17:57:29 2008 -0700 |
tree | 1df16515edbc53dc2d3515f95846169d9326b9d7 | |
parent | be0c007ac64f880a946995d6d1fc654acc81484d [diff] |
bridge: Net device leak in br_add_bridge(). 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>