From: Soheil Hassas Yeganeh <soheil.k...@gmail.com> Date: Tue, 27 Feb 2018 18:22:40 -0500
> From: Soheil Hassas Yeganeh <soh...@google.com> > > recvmmsg does not call ___sys_recvmsg when sk_err is set. > That is fine for normal reads but, for MSG_ERRQUEUE, recvmmsg > should always call ___sys_recvmsg regardless of sk->sk_err to > be able to clear error queue. Otherwise, users are not able to > drain the error queue using recvmmsg. > > Signed-off-by: Soheil Hassas Yeganeh <soh...@google.com> > Reviewed-by: Eric Dumazet <eduma...@google.com> > Signed-off-by: Willem de Bruijn <will...@google.com> Applied, thank you.