aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cavium/thunder/thunder_bgx.c
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2018-08-05 18:22:38 +0100
committerDavid S. Miller <davem@davemloft.net>2018-08-07 12:33:58 -0700
commitadfb442dbbd31bd2138d02b5822914178170df33 (patch)
tree0d603b7551cc7a16af791670bf64ffd3327683cb /drivers/net/ethernet/cavium/thunder/thunder_bgx.c
parentpacket: refine ring v3 block size test to hold one frame (diff)
downloadlinux-dev-adfb442dbbd31bd2138d02b5822914178170df33.tar.xz
linux-dev-adfb442dbbd31bd2138d02b5822914178170df33.zip
cxgb4: mk_act_open_req() buggers ->{local, peer}_ip on big-endian hosts
Unlike fs.val.lport and fs.val.fport, cxgb4_process_flow_match() sets fs.val.{l,f}ip to net-endian values without conversion - they come straight from flow_dissector_key_ipv4_addrs ->dst and ->src resp. So the assignment in mk_act_open_req() ought to be a straight copy. As far as I know, T4 PCIe cards do exist, so it's not as if that thing could only be found on little-endian systems... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/thunder/thunder_bgx.c')
0 files changed, 0 insertions, 0 deletions