]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/unix/af_unix.c
next-20160111/aio
[karo-tx-linux.git] / net / unix / af_unix.c
index a6d6654697779060ecdeeb34c75fcfe7e618f433..dd5b22a3fc91e54e403aa7829c79d0e45b0ccb0c 100644 (file)
@@ -1936,7 +1936,7 @@ pipe_err_free:
        kfree_skb(skb);
 pipe_err:
        if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL))
-               send_sig(SIGPIPE, current, 0);
+               io_send_sig(SIGPIPE);
        err = -EPIPE;
 out_err:
        scm_destroy(&scm);
@@ -2053,7 +2053,7 @@ err_unlock:
 err:
        kfree_skb(newskb);
        if (send_sigpipe && !(flags & MSG_NOSIGNAL))
-               send_sig(SIGPIPE, current, 0);
+               io_send_sig(SIGPIPE);
        if (!init_scm)
                scm_destroy(&scm);
        return err;