aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_stp_if.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2015-12-20 01:48:04 +0300
committerDavid S. Miller <davem@davemloft.net>2015-12-22 15:23:47 -0500
commit5cbf20c747987346f8352b156e3f05d3b84ac4ac (patch)
tree13d4e7befd43d0e77edafd24c9f7e55790e46a5b /net/bridge/br_stp_if.c
parentveth: don’t modify ip_summed; doing so treats packets with bad checksums as good. (diff)
downloadlinux-dev-5cbf20c747987346f8352b156e3f05d3b84ac4ac.tar.xz
linux-dev-5cbf20c747987346f8352b156e3f05d3b84ac4ac.zip
sh_eth: fix 16-bit descriptor field access endianness too
Commit 1299653affa4 ("sh_eth: fix descriptor access endianness") only addressed the 32-bit buffer address field byte-swapping but the driver still accesses 16-bit frame/buffer length descriptor fields without the necessary byte-swapping -- which should affect the big-endian kernels. In order to be able to use {cpu|edmac}_to_{edmac|cpu}(), we need to declare the RX/TX descriptor word 1 as a 32-bit field and use shifts/masking to access the 16-bit subfields (which gets rid of the ugly #ifdef'ery too)... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions