Appletalk patch

From: Kent Whitten (kent@vividimage.com)
Date: Thu Mar 30 2000 - 17:10:10 EST


Locking the bh twice is fairly fatal.

linux/net/appletalk/ddp.c line 295

--- ddp.c.orig Thu Mar 30 14:13:48 2000
+++ ddp.c Thu Mar 30 14:14:02 2000
@@ -292,7 +292,7 @@
                if (pos > offset + length) /* We have dumped enough
*/
                        break;
        }
- spin_lock_bh(&atalk_sockets_lock);
+ spin_unlock_bh(&atalk_sockets_lock);

        /* The data in question runs from begin to begin+len */
        *start = buffer + (offset - begin); /* Start of wanted data
*/

Sorry I didn't know who to send it to.

~kent

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:27 EST