Skip to contentSkip to conversation

fix appletalk locking

PATCH New [email protected] 1 participant 1 message Nov 15, 2004 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix appletalk locking

Just tried the new toy. It works.

net/appletalk/ddp.c +1 -1
diff -uprN -X /linux/dontdiff a/net/appletalk/ddp.c b/net/appletalk/ddp.c
@@ -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;