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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090508233604.GD4881@psychotron.englab.brq.redhat.com>
Date:	Sat, 9 May 2009 01:36:04 +0200
From:	Jiri Pirko <jpirko@...hat.com>
To:	Florian Westphal <fw@...len.de>
Cc:	bonding-devel@...ts.sourceforge.net, netdev@...r.kernel.org
Subject: Re: [PATCH] bonding: fix panic if initialization fails

Sat, May 09, 2009 at 01:30:57AM CEST, fw@...len.de wrote:
>Jiri Pirko <jpirko@...hat.com> wrote:
>> > err:
>> >-	list_for_each_entry(bond, &bond_dev_list, bond_list) {
>> >-		bond_work_cancel_all(bond);
>> >-		destroy_workqueue(bond->wq);
>> >-	}
>> This looks correct.
>> 
>> >-
>> >-	bond_destroy_sysfs();
>> Why this is not here anymore? I think it should be called in this function.
>
>Thanks for reviewing.
>I removed it because, if you hit this error path, sysfs registration
>failed, so there is no entry to remove.

Yes, you are rigth.

Signed-off-by: Jiri Pirko <jpirko@...hat.com>

>
>Its not a bug to call it though
>(sysfs_hash_and_remove() returns -ENOENT in that case), and i can
>re-spin without that change if you want.
>--
>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
--
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