aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2025-01-15 08:06:06 +0000
committerJakub Kicinski <[email protected]>2025-01-20 20:16:05 +0000
commit867b385251eac666685f7f4132315a1e3619baa5 (patch)
treebb19eed1c9ff3fda780e7769825c6f9a6f7350fb /drivers/net/ethernet/intel/igc/igc_main.c
parentipv6: Set cfg.ifa_flags before device lookup in inet6_rtm_newaddr(). (diff)
downloadkernel-867b385251eac666685f7f4132315a1e3619baa5.tar.gz
kernel-867b385251eac666685f7f4132315a1e3619baa5.zip
ipv6: Move lifetime validation to inet6_rtm_newaddr().
inet6_addr_add() and inet6_addr_modify() have the same code to validate IPv6 lifetime that is done under RTNL. Let's factorise it out to inet6_rtm_newaddr() so that we can validate the lifetime without RTNL later. Note that inet6_addr_add() is called from addrconf_add_ifaddr(), but the lifetime is INFINITY_LIFE_TIME in the path, so expires and flags are 0. Signed-off-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions