Re: [PATCH] net/rds: ib: don't enable IRQs in rds_ib_conn_free()

From: patchwork-bot+netdevbpf

Date: Tue Oct 20 2026 - 17:10:22 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Fri, 16 Oct 2026 23:15:25 +0700 you wrote:
> __rds_conn_create() calls trans->conn_free() with rds_conn_lock held
> and IRQs disabled when it loses the race to insert a connection.
> rds_ib_conn_free() takes the device list lock with spin_lock_irq() and
> releases it with spin_unlock_irq(), so IRQs are turned on while
> rds_conn_lock is still held:
>
> raw_local_irq_restore() called with IRQs enabled
> WARNING: kernel/locking/irqflag-debug.c:10 at warn_bogus_irq_restore+0xc/0x20
> _raw_spin_unlock_irqrestore+0x67/0x80
> __rds_conn_create+0x1de5/0x2290
> rds_conn_create_outgoing+0x43/0x60
> rds_sendmsg+0xfca/0x20e0
> __sys_sendto+0x408/0x5a0
>
> [...]

Here is the summary with links:
- net/rds: ib: don't enable IRQs in rds_ib_conn_free()
https://git.kernel.org/netdev/net-next/c/f6fa1d60ec3c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html