netdev
[Top] [All Lists]

MSG_EOR flag

To: netdev@xxxxxxxxxxx
Subject: MSG_EOR flag
From: Henner Eisen <eis@xxxxxxxxxxxxx>
Date: 28 Feb 2000 23:21:33 +0100
Sender: owner-netdev@xxxxxxxxxxx
Hi,

somewhere in 2.3.x, sock_write() was changed to call proto_ops.sendmsg() of
SOCK_SEQPACK sockets with MSG_EOR flag set (which broke some protocols first).

My questions now are: how should the MSG_EOR be used consistently?

Should sockets which do not support sending fragments via sendmsg refuse
to accept sendmsg without MSG_EOR set? This seems consistent, but can cause
compatibility problems with 2.2.x kernels.

How should the MSG_EOR flag affect recvmsg()?

Henner

<Prev in Thread] Current Thread [Next in Thread>