net: Add FLOWI_FLAG_CAN_SLEEP.
[deliverable/linux.git] / net / ipv4 / raw.c
index e1857658964d33e576d3f2acec59eb5ad77d57ab..e8e8613bcbccf5c9f7a16a823bcefe9a97977328 100644 (file)
@@ -555,7 +555,8 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
                                    .fl4_tos = tos,
                                    .proto = inet->hdrincl ? IPPROTO_RAW :
                                                             sk->sk_protocol,
-                                 };
+                                   .flags = FLOWI_FLAG_CAN_SLEEP,
+               };
                if (!inet->hdrincl) {
                        err = raw_probe_proto_opt(&fl, msg);
                        if (err)
This page took 0.026999 seconds and 5 git commands to generate.