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]
Date:	Mon, 22 Feb 2016 11:04:19 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	claudiu.manoil@....com
Cc:	claudiu.manoil@...escale.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/3] gianfar: Map head TxBD first to skip a
 wmb()

From: Claudiu Manoil <claudiu.manoil@....com>
Date: Mon, 22 Feb 2016 10:14:37 +0000

> Let's take a random driver - igb, there is no wmb() between:
> tx_desc->read.buffer_addr = cpu_to_le64(dma);
> and
> /* write last descriptor with RS and EOP bits */
> cmd_type |= size | IGB_TXD_DCMD;
> tx_desc->read.cmd_type_len = cpu_to_le32(cmd_type);

It may in fact be necessary and you should contact the driver
maintainers about that.

It is absolutely inappropriate to look for exceptions to a rule
to prove that you don't have to deal with something.  Yes, bugs
or wrong handling of situations exist, but that doesn't give you
an open door to do so as well.

Powered by blists - more mailing lists