summaryrefslogtreecommitdiff
path: root/fs/signalfd.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2015-09-23 19:45:08 +0100
committerDavid S. Miller <davem@davemloft.net>2015-09-23 14:33:55 -0700
commitd3869efe7a8a2298516d9af4f91487cf486ca945 (patch)
tree6559990f0366e38ca4355a05190e8ba9b1a39847 /fs/signalfd.c
parent2d8bff12699abc3a9bf886bb0b79f44d94d81496 (diff)
Fix AF_PACKET ABI breakage in 4.2
Commit 7d82410950aa ("virtio: add explicit big-endian support to memory accessors") accidentally changed the virtio_net header used by AF_PACKET with PACKET_VNET_HDR from host-endian to big-endian. Since virtio_legacy_is_little_endian() is a very long identifier, define a vio_le macro and use that throughout the code instead of the hard-coded 'false' for little-endian. This restores the ABI to match 4.1 and earlier kernels, and makes my test program work again. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/signalfd.c')
0 files changed, 0 insertions, 0 deletions