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: <20230205201130.11303-1-jsc@umbraculum.org>
Date:   Sun,  5 Feb 2023 21:11:26 +0100
From:   Jonas Suhr Christensen <jsc@...raculum.org>
To:     netdev@...r.kernel.org
Cc:     jsc@...raculum.org, "David S. Miller" <davem@...emloft.net>,
        Eric Dumazet <edumazet@...gle.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>,
        Michal Simek <michal.simek@...inx.com>,
        Harini Katakam <harini.katakam@....com>,
        Haoyue Xu <xuhaoyue1@...ilicon.com>,
        huangjunxian <huangjunxian6@...ilicon.com>,
        Wang Qing <wangqing@...o.com>,
        Christophe JAILLET <christophe.jaillet@...adoo.fr>,
        Yang Yingliang <yangyingliang@...wei.com>,
        Esben Haabendal <esben@...nix.com>,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH net v2 0/2] Fix dma leaking

This patch series fixes an error in the ll_temac driver releated to
dma mapping.

The main change adds missing conversion of address when unampping
dma.

Changes in v2:
  - Fix wrong (static) indexing when iterating in for-loop
  - Variable declaration order longest to shortest
  - Add fixes tags
  - improve commit message 

Jonas Suhr Christensen (2):
  net: ll_temac: Fix DMA resources leak
  net: ll_temac: Reset buffer on dma_map_single() errors

 drivers/net/ethernet/xilinx/ll_temac_main.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

-- 
2.39.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ