[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <4E525ADA020000780005278A@nat28.tlf.novell.com>
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