Re: [PATCH 4/5] af_vsock: add socket ops for SOCK_SEQPACKET.

From: Arseny Krasnov
Date: Wed Jan 06 2021 - 14:30:34 EST


> Is ENODEV the right error here?
> Just a quick look at a man page, and
> I am under impression something like
> EPROTONOSUPPORT or ESOCKNOSUPPORT
> may suit?

I used ENODEV because this code is returned some
lines below when !new_transport(e.g. valid transport
not found). But i think you codes will be also ok.