[PATCH] fix appletalk locking

From: Andries.Brouwer
Date: Mon Nov 15 2004 - 16:30:23 EST


Just tried the new toy. It works.

diff -uprN -X /linux/dontdiff a/net/appletalk/ddp.c b/net/appletalk/ddp.c
--- a/net/appletalk/ddp.c 2004-11-15 20:02:25.000000000 +0100
+++ b/net/appletalk/ddp.c 2004-11-15 22:33:43.000000000 +0100
@@ -563,7 +563,7 @@ static int atrtr_create(struct rtentry *

retval = -ENOBUFS;
if (!rt)
- goto out;
+ goto out_unlock;
memset(rt, 0, sizeof(*rt));

rt->next = atalk_routes;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/