mbox series

[PATCHv2,net,0/2] ipv6: fix temporary address not removed correctly

Message ID 20241120095108.199779-1-liuhangbin@gmail.com (mailing list archive)
Headers show
Series ipv6: fix temporary address not removed correctly | expand

Message

Hangbin Liu Nov. 20, 2024, 9:51 a.m. UTC
Currently the temporary address is not removed when mngtmpaddr is deleted
or becomes unmanaged. The patch set fixed this issue and add a related
test.

v2:
1) delete the tempaddrs directly instead of remove them in  addrconf_verify_rtnl(Sam Edwards)
2) Update the test case by checking the address including, add Sam in SOB (Sam Edwards)

Hangbin Liu (2):
  net/ipv6: delete temporary address if mngtmpaddr is removed or
    unmanaged
  selftests/rtnetlink.sh: add mngtempaddr test

 net/ipv6/addrconf.c                      | 41 +++++++---
 tools/testing/selftests/net/rtnetlink.sh | 95 ++++++++++++++++++++++++
 2 files changed, 124 insertions(+), 12 deletions(-)