diff mbox

appletalk induced soft lockup

Message ID 1372658490.3301.311.camel@edumazet-glaptop
State RFC, archived
Delegated to: David Miller
Headers show

Commit Message

Eric Dumazet July 1, 2013, 6:01 a.m. UTC
On Sun, 2013-06-30 at 19:42 -0400, Dave Jones wrote:
> is atalk even maintained any more ? If not I'll take it out of my testing.
> Arnaldo is listed as its maintainer, but I'm sure he has more interesting things
> to work on these days :)
> 
> 	Dave


Could you try following fix ?

Thanks



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c
index ef12839..279a287 100644
--- a/net/appletalk/ddp.c
+++ b/net/appletalk/ddp.c
@@ -1638,9 +1638,7 @@  static int atalk_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr
 			sk, size, dev->name);
 
 	size += dev->hard_header_len;
-	release_sock(sk);
 	skb = sock_alloc_send_skb(sk, size, (flags & MSG_DONTWAIT), &err);
-	lock_sock(sk);
 	if (!skb)
 		goto out;