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] [day] [month] [year] [list]
Date:	Tue, 17 Apr 2007 09:52:29 -0700
From:	<gregkh@...e.de>
To:	cornelia.huck@...ibm.com, fpavlic@...ibm.com, greg@...ah.com,
	gregkh@...e.de, netdev@...r.kernel.org
Subject: patch qeth-remove-usage-of-subsys_rwsem.patch added to gregkh-2.6 tree


This is a note to let you know that I've just added the patch titled

     Subject: qeth: Remove usage of subsys.rwsem

to my gregkh-2.6 tree.  Its filename is

     qeth-remove-usage-of-subsys_rwsem.patch

This tree can be found at 
    http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From cornelia.huck@...ibm.com  Tue Apr 17 09:44:49 2007
From: Cornelia Huck <cornelia.huck@...ibm.com>
Date: Tue, 17 Apr 2007 13:01:38 +0200
Subject: qeth: Remove usage of subsys.rwsem
To: Greg K-H <greg@...ah.com>, Frank Pavlic <fpavlic@...ibm.com>
Cc: Linux Netdev List <netdev@...r.kernel.org>
Message-ID: <20070417130138.37089b7b@...dolin.boeblingen.de.ibm.com>

the current driver tree contains the removal of subsys.rwsem.
Unfortunately, this breaks qeth. However, it should be no problem to
fix the walking of the devices for /proc/qeth:

No need to take subsys.rwsem during walking the devices,
driver_find_devices() should already suffice.

Signed-off-by: Cornelia Huck <cornelia.huck@...ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>

---
 drivers/s390/net/qeth_proc.c |    2 --
 1 file changed, 2 deletions(-)

--- a/drivers/s390/net/qeth_proc.c
+++ b/drivers/s390/net/qeth_proc.c
@@ -37,7 +37,6 @@ qeth_procfile_seq_start(struct seq_file 
 	struct device *dev = NULL;
 	loff_t nr = 0;
 
-	down_read(&qeth_ccwgroup_driver.driver.bus->subsys.rwsem);
 	if (*offset == 0)
 		return SEQ_START_TOKEN;
 	while (1) {
@@ -53,7 +52,6 @@ qeth_procfile_seq_start(struct seq_file 
 static void
 qeth_procfile_seq_stop(struct seq_file *s, void* it)
 {
-	up_read(&qeth_ccwgroup_driver.driver.bus->subsys.rwsem);
 }
 
 static void *


Patches currently in gregkh-2.6 which might be from cornelia.huck@...ibm.com are

driver/driver-core-per-subsystem-multithreaded-probing.patch
driver/driver-core-don-t-fail-attaching-the-device-if-it-cannot-be-bound.patch
driver/driver-core-suppress-uevents-via-filter.patch
driver/driver-core-switch-firmware_class-to-uevent_suppress.patch
driver/uevent-use-add_uevent_var-instead-of-open-coding-it.patch
driver/sysfs-add-sysfs_dirent-s_name.patch
driver/sysfs-add-sysfs_dirent-s_parent.patch
driver/sysfs-consolidate-sysfs_dirent-creation-functions.patch
driver/sysfs-fix-error-handling-in-binattr-write.patch
driver/sysfs-fix-i_ino-handling-in-sysfs.patch
driver/sysfs-flatten-cleanup-paths-in-sysfs_add_link-and-create_dir.patch
driver/sysfs-implement-bin_buffer.patch
driver/sysfs-implement-kobj_sysfs_assoc_lock.patch
driver/sysfs-make-sysfs_dirent-s_element-a-union.patch
driver/sysfs-move-release_sysfs_dirent-to-dir.c.patch
driver/sysfs-reimplement-symlink-using-sysfs_dirent-tree.patch
driver/sysfs-implement-sysfs_dirent-active-reference-and-immediate-disconnect.patch
driver/sysfs-kill-attribute-file-orphaning.patch
driver/sysfs-kill-unnecessary-attribute-owner.patch
driver/sysfs-make-lockdep-ignore-s_active.patch
driver/kobject-kobject_add-reference-leak.patch
driver/qeth-remove-usage-of-subsys_rwsem.patch
-
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