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: <CAHLZz12LZ9CxAc_uPjbtckkbM8YAeyeZX3MczBP1mZq8PeWg_w@mail.gmail.com>
Date:	Tue, 3 Jan 2012 18:06:27 -0800
From:	Harvey Harrison <harvey.harrison@...il.com>
To:	Joe Perches <joe@...ches.com>
Cc:	"Allan, Bruce W" <bruce.w.allan@...el.com>,
	David Miller <davem@...emloft.net>,
	"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"gospo@...hat.com" <gospo@...hat.com>,
	"sassmann@...hat.com" <sassmann@...hat.com>
Subject: Re: [net-next 08/11] e1000e: add Receive Packet Steering (RPS) support

On Tue, Jan 3, 2012 at 4:12 PM, Joe Perches <joe@...ches.com> wrote:
> On Tue, 2012-01-03 at 20:28 +0000, Allan, Bruce W wrote:
>> +
>> +     /* Fill out hash function seeds */
>> +     for (j = 0; j < 10; j++) {
>> +             u32 rsskey = rsshash[(j * 4)];
>> +             rsskey |= rsshash[(j * 4) + 1] << 8;
>> +             rsskey |= rsshash[(j * 4) + 2] << 16;
>> +             rsskey |= rsshash[(j * 4) + 3] << 24;
>

Perhaps consider get_unaligned_le32()

Cheers,

Harvey
--
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