David Miller <[EMAIL PROTECTED]> wrote:
> See this fix in my net-2.6.22 tree:
>
> commit ad495d7b6cfcd1bc2eaf06c42699be0bb5d84234
> Author: David S. Miller <[EMAIL PROTECTED]>
> Date: Tue Mar 6 17:02:35 2007 -0800
Ummm... That seems to conflict with something in your net-2.6 tree. Which one
s
From: David Howells <[EMAIL PROTECTED]>
Date: Fri, 13 Apr 2007 19:08:31 +0100
> AF_NETLINK sockets, however, do not do (3). See this bit in
> netlink_recvmsg():
>
> copied = skb->len;
> if (len < copied) {
> msg->msg_flags |= MSG_TRUNC;
> copied = len;
>
As I understand it, according to the recvmsg() manual page, if the packet
being returned is larger than the buffer provided, and the protocol does not
support piecemeal reception of data, then:
(1) the buffer should be filled,
(2) MSG_TRUNC should be set in msg_flags, and
(3) the length of t