diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2018-08-05 18:22:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-07 12:33:58 -0700 |
commit | adfb442dbbd31bd2138d02b5822914178170df33 (patch) | |
tree | 0d603b7551cc7a16af791670bf64ffd3327683cb /crypto | |
parent | 4576cd469d980317c4edd9173f8b694aa71ea3a3 (diff) |
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 'crypto')
0 files changed, 0 insertions, 0 deletions