[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46DC18C9.8090501@trash.net>
Date: Mon, 03 Sep 2007 16:23:05 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Al Viro <viro@....linux.org.uk>
CC: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH] fix net_device leak in vlan
Al Viro wrote:
> In "[VLAN]: Move device registation to seperate function" (commit
> e89fe42cd03c8fd3686df82d8390a235717a66de), a pile of code got moved
> to register_vlan_dev(), including grabbing a reference to underlying
> device. However, original dev_hold() had been left behind, so we
> leak a reference to net_device now...
Looks good, thanks for catching this.
-
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