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 /net/ceph/pagelist.c | |
parent | 8bab6f14084460d722f253221efa4148d3fc8b16 (diff) | |
download | linux-3.10-dd23198e58cd35259dd09e8892bbdb90f1d57748.tar.gz linux-3.10-dd23198e58cd35259dd09e8892bbdb90f1d57748.tar.bz2 linux-3.10-dd23198e58cd35259dd09e8892bbdb90f1d57748.zip |
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 'net/ceph/pagelist.c')
0 files changed, 0 insertions, 0 deletions