Commit 2f349997 authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] fix appletalk locking

Just tried the new toy. It works.
parent cb5bd643
...@@ -563,7 +563,7 @@ static int atrtr_create(struct rtentry *r, struct net_device *devhint) ...@@ -563,7 +563,7 @@ static int atrtr_create(struct rtentry *r, struct net_device *devhint)
retval = -ENOBUFS; retval = -ENOBUFS;
if (!rt) if (!rt)
goto out; goto out_unlock;
memset(rt, 0, sizeof(*rt)); memset(rt, 0, sizeof(*rt));
rt->next = atalk_routes; rt->next = atalk_routes;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment