ipv6: allow routes to be configured with expire values
authorXin Long <lucien.xin@gmail.com>
Wed, 16 Dec 2015 09:50:11 +0000 (17:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Dec 2015 20:08:51 +0000 (15:08 -0500)
commit32bc201e1974976b7d3fea9a9b17bb7392ca6394
tree638ac4a2106795aac740c6c9fd6c9b9e6a2818da
parentb3379041ddf68ba46c31fce741ddb71675b39d23
ipv6: allow routes to be configured with expire values

Add the support for adding expire value to routes,  requested by
Tom Gundersen <teg@jklm.no> for systemd-networkd, and NetworkManager
wants it too.

implement it by adding the new RTNETLINK attribute RTA_EXPIRES.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rtnetlink.h
net/ipv6/route.c