PATCH: fix error in cops port to 2.5

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Apr 07 2003 - 19:23:25 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.67/drivers/net/appletalk/cops.c linux-2.5.67-ac1/drivers/net/appletalk/cops.c
--- linux-2.5.67/drivers/net/appletalk/cops.c 2003-02-10 18:38:38.000000000 +0000
+++ linux-2.5.67-ac1/drivers/net/appletalk/cops.c 2003-04-04 18:35:34.000000000 +0100
@@ -801,7 +801,7 @@
                 lp->stats.rx_dropped++;
                 while(pkt_len--) /* Discard packet */
                         inb(ioaddr);
- restore_flags(flags);
+ spin_unlock_irqrestore(&lp->lock, flags);
                 return;
         }
         skb->dev = dev;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:34 EST