Arseny Krasnov 9942c192b2 af_vsock: implement SEQPACKET receive loop
Add receive loop for SEQPACKET. It looks like receive loop for
STREAM, but there are differences:
1) It doesn't call notify callbacks.
2) It doesn't care about 'SO_SNDLOWAT' and 'SO_RCVLOWAT' values, because
   there is no sense for these values in SEQPACKET case.
3) It waits until whole record is received.
4) It processes and sets 'MSG_TRUNC' flag.

So to avoid extra conditions for two types of socket inside one loop, two
independent functions were created.

Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-11 13:32:46 -07:00
..
2021-06-02 14:01:55 -07:00
2021-06-03 14:15:10 -07:00
2021-03-30 16:54:50 -07:00
2021-05-27 14:39:11 -07:00
2021-06-03 13:24:23 -07:00
2021-06-02 14:01:55 -07:00
2021-06-02 14:01:55 -07:00
2021-05-24 14:10:28 -07:00
2021-06-07 14:08:30 -07:00
2021-06-07 14:08:30 -07:00
2021-06-07 14:08:30 -07:00
2021-06-07 14:08:30 -07:00
2021-05-31 22:45:05 -07:00
2021-06-02 14:01:55 -07:00
2021-05-07 11:23:41 -07:00
2021-06-03 15:13:56 -07:00
2021-03-25 16:56:27 -07:00