Thread (12 messages) flat view 12 messages, 5 authors, 4d ago

Re: [PATCH net-next v2 2/3] netdev: avoid skipping objects on race with device disappearance

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-09-01 15:02:35

On Tue, 1 Sep 2026 17:15:14 +0800 Hangbin Liu wrote:
quoted
@@ -312,11 +312,14 @@ int netdev_nl_napi_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
 			err = -ENODEV;
 		}
 	} else {
+		unsigned long start_ifindex = ctx->ifindex;  
The NETDEV_A_QUEUE_IFINDEX policy is u32. And all ifindex getting/setting
in 6b6171db7fc8 ("netdev-genl: Add netlink framework functions for queue")
is u32. Why the ifindex is defined to unsigned long?
Off the top of my head - because it's am xarray iterator
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help