netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] include/linux/socket.h: Fix comment
@ 2014-11-05 20:44 Rasmus Villemoes
  2014-11-05 20:52 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus Villemoes @ 2014-11-05 20:44 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, linux-kernel, Rasmus Villemoes

File descriptors are always closed on exit :-)

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---
 include/linux/socket.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/socket.h b/include/linux/socket.h
index ec538fc..bb9b836 100644
--- a/include/linux/socket.h
+++ b/include/linux/socket.h
@@ -256,7 +256,7 @@ struct ucred {
 #define MSG_EOF         MSG_FIN
 
 #define MSG_FASTOPEN	0x20000000	/* Send data in TCP SYN */
-#define MSG_CMSG_CLOEXEC 0x40000000	/* Set close_on_exit for file
+#define MSG_CMSG_CLOEXEC 0x40000000	/* Set close_on_exec for file
 					   descriptor received through
 					   SCM_RIGHTS */
 #if defined(CONFIG_COMPAT)
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] include/linux/socket.h: Fix comment
  2014-11-05 20:44 [PATCH] include/linux/socket.h: Fix comment Rasmus Villemoes
@ 2014-11-05 20:52 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-11-05 20:52 UTC (permalink / raw)
  To: linux; +Cc: netdev, linux-kernel

From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Date: Wed,  5 Nov 2014 21:44:27 +0100

> File descriptors are always closed on exit :-)
> 
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-05 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-05 20:44 [PATCH] include/linux/socket.h: Fix comment Rasmus Villemoes
2014-11-05 20:52 ` David Miller

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).