Ilya Dryomov <idryomov@xxxxxxxxx> wrote: > if (sendpage_ok(bv.bv_page)) > msg.msg_flags |= MSG_SPLICE_PAGES; > else > msg.msg_flags &= ~MSG_SPLICE_PAGES; Hmmm... I'm not sure there's any guarantee that msg, including msg_flags, won't get altered by ->sendmsg(). David