From 4ab2b85437899e62436bfb588b46c075c445f635 Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Tue, 25 Apr 2017 17:47:49 +0200 Subject: [PATCH] lxip: support large sendmsg (like recvmsg) Add missing socket wait-queue head on demand. --- repos/dde_linux/patches/lxip_sk_wq.patch | 11 ++++++++++- repos/dde_linux/ports/dde_linux.hash | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/repos/dde_linux/patches/lxip_sk_wq.patch b/repos/dde_linux/patches/lxip_sk_wq.patch index 33b50d2d8d..0aab10be49 100644 --- a/repos/dde_linux/patches/lxip_sk_wq.patch +++ b/repos/dde_linux/patches/lxip_sk_wq.patch @@ -2,7 +2,16 @@ diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 5c5db66..6cb68a1 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c -@@ -764,6 +764,8 @@ int inet_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, +@@ -733,6 +733,8 @@ + inet_autobind(sk)) + return -EAGAIN; + ++ if (sk->sk_wq == 0) sk->sk_wq = sock->wq; ++ + return sk->sk_prot->sendmsg(sk, msg, size); + } + EXPORT_SYMBOL(inet_sendmsg); +@@ -764,6 +766,8 @@ sock_rps_record_flow(sk); diff --git a/repos/dde_linux/ports/dde_linux.hash b/repos/dde_linux/ports/dde_linux.hash index 98acccc7f9..2ff3fc02ff 100644 --- a/repos/dde_linux/ports/dde_linux.hash +++ b/repos/dde_linux/ports/dde_linux.hash @@ -1 +1 @@ -cf7368615df3c26e71fd3d23c3305da7bc0e7cce +ed9880704fad6f3d85514dd47b65a5eb7bfbf16f