netdev
[Top] [All Lists]

[PATCH 1 of 5][ATM]: [fore200e] can't sleep in transmit routine

To: netdev@xxxxxxxxxxx
Subject: [PATCH 1 of 5][ATM]: [fore200e] can't sleep in transmit routine
From: "chas williams - CONTRACTOR" <chas@xxxxxxxxxxxxxxxx>
Date: Wed, 26 Jan 2005 11:56:46 -0500
Cc: davem@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
please apply to 2.6

thanks!

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/01/24 13:21:28-05:00 chas@xxxxxxxxxxxxxxxxxxxxxx 
#   [ATM]: [fore200e] can't sleep in transmit routine
#   
#     Signed-off-by: Chas Williams <chas@xxxxxxxxxxxxxxxx>
# 
# drivers/atm/fore200e.c
#   2005/01/24 13:21:10-05:00 chas@xxxxxxxxxxxxxxxxxxxxxx +1 -1
#   [ATM]: [fore200e] can't sleep in transmit routine
#   
#     Signed-off-by: Chas Williams <chas@xxxxxxxxxxxxxxxx>
# 
diff -Nru a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
--- a/drivers/atm/fore200e.c    2005-01-25 09:36:27 -05:00
+++ b/drivers/atm/fore200e.c    2005-01-25 09:36:27 -05:00
@@ -1779,7 +1779,7 @@
 
            /* retry once again? */
            if (--retry > 0) {
-               schedule();
+               udelay(50);
                goto retry_here;
            }
 

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 1 of 5][ATM]: [fore200e] can't sleep in transmit routine, chas williams - CONTRACTOR <=