PATCH: fix error in cops port to 2.5
Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 8 Apr 2003 01:23:25 +0100
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/