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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141210.204215.46146677361631214.davem@davemloft.net>
Date:	Wed, 10 Dec 2014 20:42:15 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	sergei.shtylyov@...entembedded.com
Cc:	mitsuhiro.kimura.kc@...esas.com, netdev@...r.kernel.org
Subject: Re: errors in alignment changes..

From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Date: Thu, 11 Dec 2014 01:08:07 +0300

>    I guess we can just do:
> 
> 		rxdesc->addr = dma_map_single(...);

Best not to leave a potentially invalid DMA address in a
receive descriptor the chip can potentially fetch and
look at.

That's why I said to put it into a local variable and
check for errors first.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ