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: <CAJ3xEMi-wTfGZvTh=g6Gb5taK_qR=PiDyiAQAPRPiEaSckH8_A@mail.gmail.com>
Date:   Tue, 28 Jul 2020 13:27:07 +0300
From:   Or Gerlitz <gerlitz.or@...il.com>
To:     Eli Cohen <eli@...lanox.com>
Cc:     "David S. Miller" <davem@...emloft.net>,
        Jakub Kicinski <kuba@...nel.org>,
        Linux Netdev List <netdev@...r.kernel.org>,
        Vlad Buslov <vladbu@...lanox.com>,
        Saeed Mahameed <saeedm@...lanox.com>
Subject: Re: [net 01/12] net/mlx5e: Hold reference on mirred devices while
 accessing them

On Tue, Jul 28, 2020 at 12:13 PM Saeed Mahameed <saeedm@...lanox.com> wrote:
> From: Eli Cohen <eli@...lanox.com>
>
> Net devices might be removed. For example, a vxlan device could be
> deleted and its ifnidex would become invalid. Use dev_get_by_index()
> instead of __dev_get_by_index() to hold reference on the device while
> accessing it and release after done.

haven't this patch sent in the past in the same form and we were in the middle
of discussing how to properly address this? if something changed, what?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ