diff options
author | 2025-02-19 19:01:00 -0800 | |
---|---|---|
committer | 2025-02-19 19:01:00 -0800 | |
commit | 62520094e98c197c5ae34af9a17b67381678cb9d (patch) | |
tree | 818ebc8875ac63355786b92f4ec53a02d614a356 /net/lapb/lapb_timer.c | |
parent | sctp: Fix undefined behavior in left shift operation (diff) | |
parent | arp: switch to dev_getbyhwaddr() in arp_req_set_public() (diff) | |
download | wireguard-linux-62520094e98c197c5ae34af9a17b67381678cb9d.tar.xz wireguard-linux-62520094e98c197c5ae34af9a17b67381678cb9d.zip |
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 <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions