On Tue, 2026-11-10 at 17:12 +0100, Jason A. Donenfeld wrote: > > Hmm... How did you choose __ip_dev_find() over, say, > inet_lookup_ifaddr_rcu(), which is structurally more similar to > ipv6_chk_addr()? __ip_dev_find() is what's exported to modules. It internally takes the RCU lock and calls inet_lookup_ifaddr_rcu(). It also falls back to a RT_TABLE_LOCAL lookup, which I think is the right thing here too.