ipv6: support IFA_F_MANAGETEMPADDR for address deletion too
authorHeiner Kallweit <heiner.kallweit@web.de>
Sun, 20 Apr 2014 19:29:36 +0000 (21:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
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 <heiner.kallweit@web.de>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c