diff options
author | Daniel Baluta <dbaluta@ixiacom.com> | 2011-08-07 22:31:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-07 22:31:07 -0700 |
commit | dd23198e58cd35259dd09e8892bbdb90f1d57748 (patch) | |
tree | 33dc663c72aa08282e53ccff5049f2598617fcca /include/linux | |
parent | 8bab6f14084460d722f253221efa4148d3fc8b16 (diff) |
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: Tiberiu Szocs-Mihai <tszocs@ixiacom.com>
Signed-off-by: Daniel Baluta <dbaluta@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions