summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2015-09-23 19:45:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-03 13:51:38 +0200
commitdd9eb1b17ca8fdbcfa496b61a7a5a2a34445a3da (patch)
treea9db30578e0cb0837ab351f9d61af138b6c7f2ae /include/crypto
parent9d0af4ef230500589fec21785e66b24af81d8ca7 (diff)
Fix AF_PACKET ABI breakage in 4.2
[ Upstream commit d3869efe7a8a2298516d9af4f91487cf486ca945 ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions