From: Jakub Kicinski Date: Thu, 20 Feb 2025 03:01:00 +0000 (-0800) Subject: Merge branch 'net-core-improvements-to-device-lookup-by-hardware-address' X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=62520094e98c197c5ae34af9a17b67381678cb9d;p=users%2Fwilly%2Fpagecache.git Merge branch 'net-core-improvements-to-device-lookup-by-hardware-address' Breno Leitao says: ==================== net: core: improvements to device lookup by hardware address. The first patch adds a new dev_getbyhwaddr() helper function for finding devices by hardware address when the rtnl lock is held. This prevents PROVE_LOCKING warnings that occurred when rtnl lock was held but the RCU read lock wasn't. The common address comparison logic is extracted into dev_comp_addr() to avoid code duplication. The second coverts arp_req_set_public() to the new helper. ==================== Link: https://patch.msgid.link/20250218-arm_fix_selftest-v5-0-d3d6892db9e1@debian.org Signed-off-by: Jakub Kicinski --- 62520094e98c197c5ae34af9a17b67381678cb9d