lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170302.130527.1814024336719792592.davem@davemloft.net>
Date:   Thu, 02 Mar 2017 13:05:27 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     hassan.naveed@...tec.com
Cc:     netdev@...r.kernel.org, paul.burton@...tec.com,
        matt.redfearn@...tec.com, fw@...len.de, romieu@...zoreil.com
Subject: Re: [PATCH v2] net: pch_gbe: Fix TX RX descriptor accesses for big
 endian systems

From: Hassan Naveed <hassan.naveed@...tec.com>
Date: Tue, 28 Feb 2017 18:13:22 -0800

> Fix pch_gbe driver for ethernet operations for a big endian CPU.
> Values written to and read from transmit and receive descriptors
> in the pch_gbe driver are byte swapped from the perspective of a
> big endian CPU, since the ethernet controller always operates in
> little endian mode. Rectify this by appropriately byte swapping
> these descriptor field values in the driver software.
> 
> Signed-off-by: Hassan Naveed <hassan.naveed@...tec.com>
> Reviewed-by: Paul Burton <paul.burton@...tec.com>
> Reviewed-by: Matt Redfearn <matt.redfearn@...tec.com>
> Cc: Paul Burton <paul.burton@...tec.com>
> Cc: Matt Redfearn <matt.redfearn@...tec.com>
> Cc: David S. Miller <davem@...emloft.net>
> Cc: Florian Westphal <fw@...len.de>
> Cc: françois romieu <romieu@...zoreil.com>
> ---
> Changes in v2: Additionally changed transmit and receive descriptors field
> types to __le{16,32}. Ran sparse with endianness checking enabled and no
> new warnings were generated.

This doesn't apply cleanly to the 'net' tree, please respin.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ