Message ID | 23a871790d07db86a869e98118cedd703c42b6c2.1561457281.git.sd@queasysnail.net |
---|---|
State | Awaiting Upstream |
Delegated to: | David Miller |
Headers | show |
Series | ipsec: add TCP encapsulation support (RFC 8229) | expand |
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index b50a5e3ac4e4..f863c7ef417c 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -2367,6 +2367,7 @@ int skb_send_sock_locked(struct sock *sk, struct sk_buff *skb, int offset, kv.iov_base = skb->data + offset; kv.iov_len = slen; memset(&msg, 0, sizeof(msg)); + msg.msg_flags = MSG_DONTWAIT; ret = kernel_sendmsg_locked(sk, &msg, &kv, 1, slen); if (ret <= 0)