Subject: Re: [regresion] Dell's OMSA Systems Management Data Engine stuck after update from 6.8.y to 6.9.y (with bisecting)

From: Jakub Kicinski <[email-masked]>
Date: Thu, 30 May 2024 17:33:24 -0700

On Thu, 30 May 2024 09:52:38 +0200 Jaroslav Pulchart wrote:
> However, reverting just the "use xarray iterator to implement
> rtnl_dump_ifinfo" change did not resolve the issue. Do you have any
> suggestions on what to try next and how to fix it?

The daemon must have rolled its own netlink parsing.

Could you try this?

diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
index 96accde527da..5fd06473ddd9 100644
--- a/net/ipv4/devinet.c
+++ b/net/ipv4/devinet.c
@@ -1912,6 +1912,8 @@ static int inet_dump_ifaddr(struct sk_buff *skb, struct netlink_callback *cb)
 			goto done;
 	}
 done:
+	if (err == -EMSGSIZE && likely(skb->len))
+		err = skb->len;
 	if (fillargs.netnsid >= 0)
 		put_net(tgt_net);
 	rcu_read_unlock();