Kuniyuki Iwashima f8696133f6 arp: Factorise ip_route_output() call in arp_req_set() and arp_req_delete().
When ioctl(SIOCDARP/SIOCSARP) is issued for non-proxy entry (no ATF_COM)
without arpreq.arp_dev[] set, arp_req_set() and arp_req_delete() looks up
dev based on IPv4 address by ip_route_output().

Let's factorise the same code as arp_req_dev().

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://lore.kernel.org/r/20240430015813.71143-4-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-05-01 18:37:06 -07:00
..
2024-04-30 18:32:38 -07:00
2024-02-20 15:32:45 +01:00
2024-04-26 15:34:00 +02:00
2024-01-11 10:07:29 -08:00
2024-04-30 18:32:38 -07:00
2024-04-30 18:32:38 -07:00
2024-03-29 15:03:11 -07:00
2024-04-30 18:46:52 -07:00
2024-04-22 12:20:09 -07:00
2024-04-30 18:32:38 -07:00
2023-12-12 14:24:14 +01:00
2024-01-31 16:41:16 -08:00