summaryrefslogtreecommitdiff
path: root/include/linux/netlink.h
diff options
context:
space:
mode:
authorDaniel Baluta <dbaluta@ixiacom.com>2011-08-07 22:31:07 -0700
committerDavid S. Miller <davem@davemloft.net>2011-08-07 22:31:07 -0700
commitdd23198e58cd35259dd09e8892bbdb90f1d57748 (patch)
tree33dc663c72aa08282e53ccff5049f2598617fcca /include/linux/netlink.h
parent8bab6f14084460d722f253221efa4148d3fc8b16 (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/netlink.h')
0 files changed, 0 insertions, 0 deletions