Thread (4 messages) 4 messages, 4 authors, 2011-08-09

Re: [PATCH] ipv4: Fix ip_getsockopt for IP_PKTOPTIONS

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-08-08 05:35:14

From: Daniel Baluta <redacted>
Date: Sun,  7 Aug 2011 02:20:50 +0300
IP_PKTOPTIONS is broken for 32-bit applications running
in COMPAT mode on 64-bit kernels.

This happens because msghdr's msg_flags field is always
set to zero. When running in COMPAT mode this should be
set to MSG_CMSG_COMPAT instead.

Signed-off-by: Tiberiu Szocs-Mihai <redacted>
Signed-off-by: Daniel Baluta <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help