Meh: if (!sendpage_ok(page))- msg.msg_flags &= ~MSG_SPLICE_PAGES,+ msg.msg_flags &= ~MSG_SPLICE_PAGES; bvec_set_page(&bvec, page, len, offset);David