Thread (2 messages) 2 messages, 2 authors, 2003-11-11

Re: net/packet/af_packet.c:{1057,1073}: flags vs. msg->flags

flat view

From: David S. Miller <hidden>
Date: 2003-11-11 07:18:44
Also in: lkml

On Mon, 10 Nov 2003 12:10:46 +0100
"Ihar 'Philips' Filipau" [off-list ref] wrote:
    On line 1057 we have: "msg->msg_flags|=MSG_TRUNC;" to indicate that 
message was truncated.

    But on line 1073, where we make return status to user, we check 
against user suplied flags, but NOT msg->msg_flags.

    It looks like obvious typo.
Indeed, you're right.

Thanks for the report, I'll fix this in both 2.4.x and 2.6.x
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help