Re: [PATCH] dlm: don't warn when closing a node without a connection
From: Greg KH
Date: Wed Oct 14 2026 - 07:54:32 EST
On Wed, Oct 14, 2026 at 05:02:37PM +0800, vienna-0FFH wrote:
> Opening and closing a configfs comm entry without ever configuring an
> address for it triggers the following warning:
>
> mkdir /sys/kernel/config/dlm/cluster
> mkdir /sys/kernel/config/dlm/cluster/comms/1
> rmdir /sys/kernel/config/dlm/cluster/comms/1
>
> dlm: closing connection to node 1
> ------------[ cut here ]------------
> !con
> WARNING: fs/dlm/lowcomms.c:1455 at dlm_lowcomms_close+0x12d/0x470, CPU#1
>
> Since commit 6f0b0b5d7ae7 ("fs: dlm: remove dlm_node_addrs lookup list")
> the lowcomms connection has the same lifetime as the configfs comm
> entry, but a connection is only created when an address is configured
> via the addr attribute. Removing a comm entry for which no address was
> ever set up is valid and the resulting close call has simply nothing
> to do, so it must not warn.
>
> Reported-by: syzbot+04dfbd15d442517e713a@xxxxxxxxxxxxxxxxxxxxxxxxx
> Closes: https://syzkaller.appspot.com/bug?extid=04dfbd15d442517e713a
> Fixes: 6f0b0b5d7ae7 ("fs: dlm: remove dlm_node_addrs lookup list")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: vienna-0FFH <viennaoffh@xxxxxxxxx>
Real name is needed please.
thanks,
greg k-h