Re: [tipc-discussion] [PATCH net-next] tipc: keep the skb in rcv queue until the whole data is read

2021-06-28 Thread Xin Long
On Mon, Jun 28, 2021 at 3:03 PM Xin Long wrote: > > On Sun, Jun 27, 2021 at 3:44 PM Erin Shepherd wrote: > > > > Xin Long writes: > > > > > Currently, when userspace reads a datagram with a buffer that is > > > smaller than this datagram, the data will be truncated and only > > > part of it can

Re: [tipc-discussion] [PATCH net-next] tipc: keep the skb in rcv queue until the whole data is read

2021-06-28 Thread Xin Long
On Sun, Jun 27, 2021 at 3:44 PM Erin Shepherd wrote: > > Xin Long writes: > > > Currently, when userspace reads a datagram with a buffer that is > > smaller than this datagram, the data will be truncated and only > > part of it can be received by users. It doesn't seem right that > > users don't