summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-05-04 17:57:29 -0700
committerDavid S. Miller <davem@davemloft.net>2008-05-04 17:57:29 -0700
commitc37aa90b0458d87342e0bb083f6bf7d113220d09 (patch)
tree1df16515edbc53dc2d3515f95846169d9326b9d7 /samples
parentbe0c007ac64f880a946995d6d1fc654acc81484d (diff)
downloadlinux-stable-c37aa90b0458d87342e0bb083f6bf7d113220d09.tar.gz
linux-stable-c37aa90b0458d87342e0bb083f6bf7d113220d09.tar.bz2
linux-stable-c37aa90b0458d87342e0bb083f6bf7d113220d09.zip
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions