Re: [PATCH] net: socket: fix recvmmsg not returning error from sock_error

2017-02-21 Thread David Miller
From: Maxime Jayat Date: Tue, 21 Feb 2017 18:35:51 +0100 > Commit 34b88a68f26a ("net: Fix use after free in the recvmmsg exit path"), > changed the exit path of recvmmsg to always return the datagrams > variable and modified the error paths to set the variable to the error > code returned by recv

[PATCH] net: socket: fix recvmmsg not returning error from sock_error

2017-02-21 Thread Maxime Jayat
Commit 34b88a68f26a ("net: Fix use after free in the recvmmsg exit path"), changed the exit path of recvmmsg to always return the datagrams variable and modified the error paths to set the variable to the error code returned by recvmsg if necessary. However in the case sock_error returned an error