On 7/5/21 11:57 PM, maloy wrote:
Sent from my Galaxy
Original message
From: Xin Long
Date: 2021-06-30 20:21 (GMT-05:00)
To: Jon Maloy , Erin Shepherd
, tipc-discussion@lists.sourceforge.net
Subject: [tipc-discussion] [PATCHv2 net-next] tipc: keep the skb in
rcv queue
Sent from my Galaxy
Original message From: Xin Long Date:
2021-06-30 20:21 (GMT-05:00) To: Jon Maloy , Erin Shepherd
, tipc-discussion@lists.sourceforge.net Subject:
[tipc-discussion] [PATCHv2 net-next] tipc: keep the skb in rcv
queue until the whole data is read
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 know the datagram size and have to use a huge buffer
to read it to avoid the truncation.