# Re: \[PATCH net-next v5 03/16\] ceph: Use sendmsg(MSG\_SPLICE\_PAGES) rather than sendpage

- From: David Howells \<dhowells@redhat.com\>
- Date: 2023-06-26 15:13:09 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/06/2246332
- Thread: https://ratatoskr.run/netdev/2023/06/2244722/t.md

```text
Ilya Dryomov [ref] wrote:

> > -       int flags = MSG_DONTWAIT | MSG_NOSIGNAL | more;

Btw, why are you setting MSG_DONTWAIT?  If you're in the middle of
transmitting a message on a TCP socket, surely you can't just switch to
transmitting a different message on the same socket without doing some sort of
reframing?

David

```
