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: <87a5b0800803200739v6d222afck850f221eae1edd70@mail.gmail.com>
Date:	Thu, 20 Mar 2008 14:39:08 +0000
From:	"Will Newton" <will.newton@...il.com>
To:	"Johannes Berg" <johannes@...solutions.net>
Cc:	"Daniel Drake" <dsd@...too.org>,
	"Linux Kernel list" <linux-kernel@...r.kernel.org>,
	linux-wireless <linux-wireless@...r.kernel.org>,
	netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH/RFC] introduce ARCH_CAN_UNALIGNED_ACCESS Kconfig symbol

On Thu, Mar 20, 2008 at 2:34 PM, Johannes Berg
<johannes@...solutions.net> wrote:

>  +For some ethernet hardware that cannot DMA to unaligned addresses like
>  +4*n+2 or non-ethernet hardware, this can be a problem, and it is then
>  +required to copy the incoming frame into an aligned buffer. Because this is
>  +unnecessary on architectures that can do unaligned accesses, the code can be
>  +made depend on CONFIG_ARCH_CAN_UNALIGNED_ACCESS like so:
>  +
>  +#ifdef CONFIG_ARCH_CAN_UNALIGNED_ACCESS
>  +       skb = copy skb
>  +#else
>  +       skb = original skb
>  +#endif

Is this logic reversed?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ