Skip to contentSkip to conversation

s390: qeth driver fixes

PATCH Applied Frank Pavlic 1 participant 1 message Jan 8, 2007

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 3/5 s390: qeth driver fixes

[PATCH 3/5] s390: qeth driver fixes

From: Frank Blaschka <[email protected]>
- qeth device functions were not callable
in atomic context due to usage of wait_event_xxx operations in qeth. "schedule while atomic" message appeared and kernel dumped when removing slave from bond device.

---
 drivers/s390/net/qeth.h      |    2 -
 drivers/s390/net/qeth_main.c |  125 ++++++++++--------------------------------
 2 files changed, 30 insertions(+), 97 deletions(-)
drivers/s390/net/qeth.h +1 -1
index 53c358c..e95c281 100644
@@ -710,7 +710,7 @@ struct qeth_reply {
 	int (*callback)(struct qeth_card *,struct qeth_reply *,unsigned long);
  	u32 seqno;
 	unsigned long offset;
-	int received;
+	atomic_t received;
 	int rc;
 	void *param;
 	struct qeth_card *card;
drivers/s390/net/qeth_main.c +29 -96

243 lines not on this page · raw message

Signature · 1 line
1.4.2.3