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]
Date:   Mon, 21 Sep 2020 17:18:11 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     hauke@...ke-m.de
Cc:     kuba@...nel.org, netdev@...r.kernel.org,
        martin.blumenstingl@...glemail.com
Subject: Re: [PATCH] net: lantiq: Add locking for TX DMA channel

From: Hauke Mehrtens <hauke@...ke-m.de>
Date: Tue, 22 Sep 2020 00:31:13 +0200

> The TX DMA channel data is accessed by the xrx200_start_xmit() and the
> xrx200_tx_housekeeping() function from different threads. Make sure the
> accesses are synchronized by using locking around the accesses.
> 
> Signed-off-by: Hauke Mehrtens <hauke@...ke-m.de>

The TX lock will be held during the xrx200_start_xmit() routine, always.

Please use that in xrx200_tx_housekeeping() instead of adding a new
unnecessary lock.

Thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ