> Datagram receive queues hold whole messages, and transports may charge > queued datagrams to the socket send buffer. Report the size of the > next datagram payload for SIOCINQ under the receive-queue lock, so > concurrent recvmsg() cannot free the skb during the query. Let > transports override the length calculation to exclude headers such as > VMCI's. > > Report datagram write readiness only while the send buffer has space. > Set the asynchronous no-space flag when it is full so freeing pending > send buffers can wake poll waiters. > > Signed-off-by: Sergio Lopez <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=2
