lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 22 Aug 2011 12:34:18 +0100
From:	"Jan Beulich" <JBeulich@...ell.com>
To:	<shemminger@...tta.com>
Cc:	<davem@...emloft.net>, <netdev@...r.kernel.org>
Subject: net_device leak after "bridge: allow creating bridge devices
	 with netlink"?

Stephen,

directly returning the result of register_netdev() from br_add_bridge()
would - to me - appear to be leaking "dev" in case of failure. Or am I
overlooking some implicit mechanism by which this would get freed?

Thanks, Jan


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ