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] [day] [month] [year] [list]
Message-Id: <a707f0d2-6514-45e2-b123-70013a18c633@app.fastmail.com>
Date: Fri, 11 Jul 2025 07:39:00 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Zhu Yanjun" <yanjun.zhu@...ux.dev>, "Arnd Bergmann" <arnd@...nel.org>,
 "Leon Romanovsky" <leon@...nel.org>, "Jason Gunthorpe" <jgg@...pe.ca>,
 "Parav Pandit" <parav@...dia.com>
Cc: "Mark Bloch" <mbloch@...dia.com>,
 "Patrisious Haddad" <phaddad@...dia.com>, "Moshe Shemesh" <moshe@...dia.com>,
 linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RDMA/mlx5: fix linking with CONFIG_INFINIBAND_USER_ACCESS=n

On Thu, Jul 10, 2025, at 22:12, yanjun.zhu wrote:
> On 7/10/25 1:09 AM, Arnd Bergmann wrote:
>> From: Arnd Bergmann <arnd@...db.de>
>> 
>> The check for rdma_uattrs_has_raw_cap() is not possible if user
>> access is disabled:
>> 
>> ERROR: modpost: "rdma_uattrs_has_raw_cap" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined!
>
> https://patchwork.kernel.org/project/linux-rdma/patch/72dee6b379bd709255a5d8e8010b576d50e47170.1751967071.git.leon@kernel.org/
>
> The issue you described seems to be the same as the one discussed in the 
> link above. Could you try applying the commit from that link and see if 
> the problem still persists?

That one looks fine, I'm sure it's sufficient without my patch.

    Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ