diff options
| author | Jakub Kicinski <[email protected]> | 2025-02-20 03:01:00 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-20 03:01:00 +0000 |
| commit | 62520094e98c197c5ae34af9a17b67381678cb9d (patch) | |
| tree | 818ebc8875ac63355786b92f4ec53a02d614a356 /net/ipv4/tcp_ipv4.c | |
| parent | sctp: Fix undefined behavior in left shift operation (diff) | |
| parent | arp: switch to dev_getbyhwaddr() in arp_req_set_public() (diff) | |
| download | kernel-62520094e98c197c5ae34af9a17b67381678cb9d.tar.gz kernel-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/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions
