diff options
author | Kuniyuki Iwashima <[email protected]> | 2024-04-29 18:58:09 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-01 18:37:06 -0700 |
commit | f8696133f6aa4e6a83c9fb2d9dddc6d194a2ba1f (patch) | |
tree | 7fcad940c940b8206a13e1bc1966eb0e682775b9 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 0592367424bbbdef506ef1450f5b8beec148f8a4 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions