From: David Miller <davem@davemloft.net>
To: glider@google.com
Cc: edumazet@google.com, rweikusat@mobileactivedefense.com,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH] SOCK_SEQPACKET socketpair must get SIGPIPE in AF_UNIX if one end is closed
Date: Mon, 14 Mar 2016 15:19:23 -0400 (EDT) [thread overview]
Message-ID: <20160314.151923.1878027262976947807.davem@davemloft.net> (raw)
In-Reply-To: <1457532623-125301-1-git-send-email-glider@google.com>
From: Alexander Potapenko <glider@google.com>
Date: Wed, 9 Mar 2016 15:10:23 +0100
> According to IEEE Std 1003.1, 2013, sending data to a SOCK_SEQPACKET
> socketpair with MSG_NOSIGNAL flag set must result in a SIGPIPE if the
> socket is no longer connected.
>
> Signed-off-by: Alexander Potapenko <glider@google.com>
Please format your Subject line properly, the format is:
[PATCH] $SUBSYSTEM: $DESCRIPTION.
In this case "af_unx: " would be a proper subsystem marker.
Also,
> ---
> I used the following program to check the kernel behavior:
Please include this in your commit message rather than cutting it out
using the "---" marker, as it will help people in the future
understand your change and how you tested it. More information is
always better than less information.
Thanks.
next prev parent reply other threads:[~2016-03-14 19:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-09 14:10 [PATCH] SOCK_SEQPACKET socketpair must get SIGPIPE in AF_UNIX if one end is closed Alexander Potapenko
2016-03-14 19:19 ` David Miller [this message]
2016-03-15 9:08 ` Alexander Potapenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160314.151923.1878027262976947807.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=glider@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rweikusat@mobileactivedefense.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).