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-next>] [day] [month] [year] [list]
Message-Id: <20240510122155.3394723-1-xiaolei.wang@windriver.com>
Date: Fri, 10 May 2024 20:21:53 +0800
From: Xiaolei Wang <xiaolei.wang@...driver.com>
To: alexandre.torgue@...s.st.com, joabreu@...opsys.com, davem@...emloft.net,
        edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
        mcoquelin.stm32@...il.com, richardcochran@...il.com,
        bartosz.golaszewski@...aro.org, horms@...nel.org,
        rohan.g.thomas@...el.com, rmk+kernel@...linux.org.uk,
        fancer.lancer@...il.com, ahalaney@...hat.com
Cc: netdev@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [net PATCH v5 0/2] Move EST lock and EST structure to struct stmmac_priv 

1. Pulling the mutex protecting the EST structure out to avoid
    clearing it during reinit/memset of the EST structure,and
    reacquire the mutex lock when doing this initialization. 

2. Moving the EST structure to a more logical location

v1 -> v2:
  - move the lock to struct plat_stmmacenet_data
v2 -> v3:
  - Add require the mutex lock for reinitialization
v3 -> v4
  - Move est and est lock to stmmac_priv as suggested by Serge
v4 -> v5
  - Submit it into two patches and add the Fixes tag

Xiaolei Wang (2):
  net: stmmac: move the EST lock to struct stmmac_priv
  net: stmmac: move the EST structure to struct stmmac_priv

 drivers/net/ethernet/stmicro/stmmac/stmmac.h  |  3 +
 .../net/ethernet/stmicro/stmmac/stmmac_main.c | 18 +++---
 .../net/ethernet/stmicro/stmmac/stmmac_ptp.c  | 30 +++++-----
 .../net/ethernet/stmicro/stmmac/stmmac_tc.c   | 58 +++++++++----------
 include/linux/stmmac.h                        |  2 -
 5 files changed, 56 insertions(+), 55 deletions(-)

-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ