mptcp: implement dummy MSG_ERRQUEUE support
authorPaolo Abeni <pabeni@redhat.com>
Fri, 23 Apr 2021 18:17:05 +0000 (11:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Apr 2021 21:06:32 +0000 (14:06 -0700)
commitcb9d80f4940ee5d4b7c7cad7418a6c893c6c4279
tree4a8f8fe7df68ca0dff93faaf7f32819168535cab
parentb1ce98c70eb991e4b8521489dc74f446a25958b9
mptcp: implement dummy MSG_ERRQUEUE support

mptcp_recvmsg() currently silently ignores MSG_ERRQUEUE, returning
input data instead of error cmsg.

This change provides a dummy implementation for MSG_ERRQUEUE - always
returns no data. That is consistent with the current lack of a suitable
IP_RECVERR setsockopt() support.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c