Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] ipv6: addrconf: keep lifetimes of manual addresses on RA
@ 2026-10-30  5:57 Hermin Anggawijaya
  2026-10-30  5:57 ` [PATCH net-next 1/2] ipv6: addrconf: don't update lifetimes of manual addresses from RA Hermin Anggawijaya
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hermin Anggawijaya @ 2026-10-30  5:57 UTC (permalink / raw)
  To: dsahern, idosch, davem, edumazet, kuba, pabeni, horms
  Cc: netdev, linux-kselftest, Hermin Anggawijaya

A PIO with the autonomous flag set refreshes the lifetimes of any
address on the interface that equals the address SLAAC would form from
the prefix, including manually added ones. RFC 4862 Section 5.5.3 e)
only applies this to addresses configured by stateless
autoconfiguration, and the result is that a static, permanent address
silently becomes one that expires.

Patch 1 restricts the lifetime update to addresses carrying
IFA_F_MANAGETEMPADDR, i.e. SLAAC addresses and manual addresses added
with mngtmpaddr. Patch 2 adds a selftest to rtnetlink.py.

Hermin Anggawijaya (2):
  ipv6: addrconf: don't update lifetimes of manual addresses from RA
  selftests: net: test RA PIO handling of manually added addresses

 net/ipv6/addrconf.c                      |  9 +++
 tools/testing/selftests/net/rtnetlink.py | 79 +++++++++++++++++++++++-
 2 files changed, 87 insertions(+), 1 deletion(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-30 22:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-30  5:57 [PATCH net-next 0/2] ipv6: addrconf: keep lifetimes of manual addresses on RA Hermin Anggawijaya
2026-10-30  5:57 ` [PATCH net-next 1/2] ipv6: addrconf: don't update lifetimes of manual addresses from RA Hermin Anggawijaya
2026-10-30  5:57 ` [PATCH net-next 2/2] selftests: net: test RA PIO handling of manually added addresses Hermin Anggawijaya
2026-10-30 22:36 ` [PATCH net-next 0/2] ipv6: addrconf: keep lifetimes of manual addresses on RA Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox