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
| ||
|
Date: Mon, 16 Apr 2012 23:57:00 -0400 (EDT) From: David Miller <davem@...emloft.net> To: shimoda.hiroaki@...il.com Cc: netdev@...r.kernel.org Subject: Re: [PATCH net] dummy: Add ndo_uninit(). From: Hiroaki SHIMODA <shimoda.hiroaki@...il.com> Date: Mon, 16 Apr 2012 08:26:01 +0900 > In register_netdevice(), when ndo_init() is successful and later > some error occurred, ndo_uninit() will be called. > So dummy deivce is desirable to implement ndo_uninit() method > to free percpu stats for this case. > And, ndo_uninit() is also called along with dev->destructor() when > device is unregistered, so in order to prevent dev->dstats from > being freed twice, dev->destructor is modified to free_netdev(). > > Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@...il.com> Applied and queued up for -stable, thanks. -- 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