[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160314.151923.1878027262976947807.davem@davemloft.net>
Date: Mon, 14 Mar 2016 15:19:23 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: glider@...gle.com
Cc: edumazet@...gle.com, rweikusat@...ileactivedefense.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] SOCK_SEQPACKET socketpair must get SIGPIPE in AF_UNIX
if one end is closed
From: Alexander Potapenko <glider@...gle.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@...gle.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.
Powered by blists - more mailing lists