Re: [PATCH v3] net: handle error more gracefully in socketpair()

2013-12-11 Thread Yann Droneaud
Le mardi 10 décembre 2013 à 22:24 -0500, David Miller a écrit : > From: Yann Droneaud > Date: Mon, 9 Dec 2013 22:42:20 +0100 > ... > > Cc: David S. Miller > > Cc: Al Viro > > Signed-off-by: Yann Droneaud > > Link: > >

Re: [PATCH v3] net: handle error more gracefully in socketpair()

2013-12-11 Thread Yann Droneaud
Le mardi 10 décembre 2013 à 22:24 -0500, David Miller a écrit : From: Yann Droneaud ydrone...@opteya.com Date: Mon, 9 Dec 2013 22:42:20 +0100 ... Cc: David S. Miller da...@davemloft.net Cc: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Yann Droneaud ydrone...@opteya.com Link:

Re: [PATCH v3] net: handle error more gracefully in socketpair()

2013-12-10 Thread David Miller
From: Yann Droneaud Date: Mon, 9 Dec 2013 22:42:20 +0100 > This patch makes socketpair() use error paths which do not > rely on heavy-weight call to sys_close(): it's better to try > to push the file descriptor to userspace before installing > the socket file to the file descriptor, so that

Re: [PATCH v3] net: handle error more gracefully in socketpair()

2013-12-10 Thread David Miller
From: Yann Droneaud ydrone...@opteya.com Date: Mon, 9 Dec 2013 22:42:20 +0100 This patch makes socketpair() use error paths which do not rely on heavy-weight call to sys_close(): it's better to try to push the file descriptor to userspace before installing the socket file to the file

[PATCH v3] net: handle error more gracefully in socketpair()

2013-12-09 Thread Yann Droneaud
This patch makes socketpair() use error paths which do not rely on heavy-weight call to sys_close(): it's better to try to push the file descriptor to userspace before installing the socket file to the file descriptor, so that errors are catched earlier and being easier to handle. Using

[PATCH v3] net: handle error more gracefully in socketpair()

2013-12-09 Thread Yann Droneaud
This patch makes socketpair() use error paths which do not rely on heavy-weight call to sys_close(): it's better to try to push the file descriptor to userspace before installing the socket file to the file descriptor, so that errors are catched earlier and being easier to handle. Using