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  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]
Date:   Fri, 3 Jan 2020 08:47:40 +0000
From:   David Laight <David.Laight@...LAB.COM>
To:     "'Luck, Tony'" <>,
        Stephen Hemminger <>,
        "Yu, Fenghua" <>
CC:     David Miller <>,
        "" <>,
        "" <>,
        "" <>,
        "" <>,
        "" <>,
        "Shankar, Ravi V" <>
Subject: RE: [PATCH] drivers/net/b44: Change to non-atomic bit operations

From: Luck, Tony
> Sent: 02 January 2020 18:23
> > Why not just make pwol_pattern aligned and choose the right word to do
> > the operation on?
> We use that approach for places where the operation needs to be atomic.
> But this one doesn't need an atomic operation since there can be no other
> entity operating on the same bitmap in parallel.

>From what I remember this code is setting up a bitmap that is transferred
to the hardware (it might be the multicast filter).
As such it shouldn't be relying on the implementation of the bitmap
functions (which operate on long[]) to generate the required byte map
required by the hardware.

The code is horrid.


Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)

Powered by blists - more mailing lists