[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180807.123538.1789071603383048283.davem@davemloft.net>
Date: Tue, 07 Aug 2018 12:35:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: viro@...IV.linux.org.uk
Cc: kumaras@...lsio.com, rahul.lakkireddy@...lsio.com,
netdev@...r.kernel.org
Subject: Re: [endianness bug] cxgb4: mk_act_open_req() buggers
->{local,peer}_ip on big-endian hosts
From: Al Viro <viro@...IV.linux.org.uk>
Date: Sun, 5 Aug 2018 18:22:38 +0100
> 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 straigh 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@...iv.linux.org.uk>
Applied.
Powered by blists - more mailing lists