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: <1519744400.7296.10.camel@gmail.com>
Date:   Tue, 27 Feb 2018 07:13:20 -0800
From:   Eric Dumazet <eric.dumazet@...il.com>
To:     Marek Szyprowski <m.szyprowski@...sung.com>,
        netdev@...r.kernel.org,
        Linux USB Mailing List <linux-usb@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        'Linux Samsung SOC' <linux-samsung-soc@...r.kernel.org>
Cc:     Dean Jenkins <Dean_Jenkins@...tor.com>,
        Oliver Neukum <oneukum@...e.com>
Subject: Re: inconsistent lock state with usbnet/asix usb ethernet and xhci

On Tue, 2018-02-27 at 07:09 -0800, Eric Dumazet wrote:
> 
> Note that for this one, it seems we also could perform stats updates in
> BH context, since skb is queued via defer_bh()
> 
> But simplicity wins I guess.

Thinking more about this, I am not sure we have any guarantee that TX
and RX can not run on multiple cpus.

Using an unique syncp is not going to be safe, even if we make lockdep
happy enough with the local_irq save/restore.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ