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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 09 Apr 2014 12:53:56 -0700 From: Jay Vosburgh <j.vosburgh@...il.com> To: Thomas Richter <tmricht@...ux.vnet.ibm.com> cc: netdev@...r.kernel.org Subject: Re: [PATCH] Bonding Remove debug_fs files when module init fails Thomas Richter <tmricht@...ux.vnet.ibm.com> wrote: >Remove the bonding debug_fs entries when the >module initialization fails. The debug_fs >entries should be removed together with all other >already allocated resources. > >Signed-off-by: Thomas Richter <tmricht@...ux.vnet.ibm.com> Signed-off-by: Jay Vosburgh <j.vosburgh@...il.com> >--- > drivers/net/bonding/bond_main.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c >index 95a6ca7..c11e7b7 100644 >--- a/drivers/net/bonding/bond_main.c >+++ b/drivers/net/bonding/bond_main.c >@@ -4492,6 +4492,7 @@ static int __init bonding_init(void) > out: > return res; > err: >+ bond_destroy_debugfs(); > bond_netlink_fini(); > err_link: > unregister_pernet_subsys(&bond_net_ops); >-- -- 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