From: Soheil Hassas Yeganeh <[email protected]> Date: Tue, 27 Feb 2018 18:22:40 -0500
> From: Soheil Hassas Yeganeh <[email protected]> > > 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 <[email protected]> > Reviewed-by: Eric Dumazet <[email protected]> > Signed-off-by: Willem de Bruijn <[email protected]> Applied, thank you.
