Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dd23198e authored by Daniel Baluta's avatar Daniel Baluta Committed by David S. Miller
Browse files

ipv4: Fix ip_getsockopt for IP_PKTOPTIONS



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: default avatarTiberiu Szocs-Mihai <tszocs@ixiacom.com>
Signed-off-by: default avatarDaniel Baluta <dbaluta@ixiacom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8bab6f14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment