mbox series

[RFC,v1,0/2] return errors other than -ENOMEM to socket

Message ID 97f19214-ba04-c47e-7486-72e8aa16c690@sberdevices.ru (mailing list archive)
Headers show
Series return errors other than -ENOMEM to socket | expand

Message

Arseniy Krasnov March 25, 2023, 10:12 p.m. UTC
Hello,

this patchset removes behaviour, where error code returned from any
transport was always switched to ENOMEM. This works in the same way as
patch from Bobby Eshleman:
commit c43170b7e157 ("vsock: return errors other than -ENOMEM to socket"),
but for receive calls.

vsock_test suite is also updated.

Arseniy Krasnov (2):
  vsock: return errors other than -ENOMEM to socket
  vsock/test: update expected return values

 net/vmw_vsock/af_vsock.c         | 4 ++--
 tools/testing/vsock/vsock_test.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)