ipv6: support IFA_F_MANAGETEMPADDR for address deletion too
authorHeiner Kallweit <[email protected]>
Sun, 20 Apr 2014 19:29:36 +0000 (21:29 +0200)
committerDavid S. Miller <[email protected]>
Wed, 23 Apr 2014 01:27:57 +0000 (21:27 -0400)
commit6046d5b4e464ba9b2cc8f0407069456624598dd5
tree5f853f7c19f01d8a3c780995c85717ee8cd708a0
parent0080d4f5f21861da5d5c0bf443e6ba1222c6af7b
ipv6: support IFA_F_MANAGETEMPADDR for address deletion too

Userspace applications can use IFA_F_MANAGETEMPADDR with RTM_NEWADDR
already to indicate that the kernel should take care of temporary
address management.

This patch adds related functionality to RTM_DELADDR. By setting
IFA_F_MANAGETEMPADDR a userspace application can indicate that the kernel
should delete all related temporary addresses as well.

A corresponding patch for the "ip addr del" command has been applied to
iproute2 already.

Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Acked-by: Hannes Frederic Sowa <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv6/addrconf.c