mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
lxip: support large sendmsg (like recvmsg)
Add missing socket wait-queue head on demand.
This commit is contained in:
parent
9802ae83e0
commit
4ab2b85437
@ -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);
|
||||
|
||||
|
@ -1 +1 @@
|
||||
cf7368615df3c26e71fd3d23c3305da7bc0e7cce
|
||||
ed9880704fad6f3d85514dd47b65a5eb7bfbf16f
|
||||
|
Loading…
Reference in New Issue
Block a user