From: Xin Long <lucien....@gmail.com> Date: Thu, 10 Dec 2015 00:27:53 +0800
> Add the support for adding expire value to routes, requested by > Tom Gundersen <t...@jklm.no> for systemd-networkd, and NetworkManager > wants it too. > > add it by using the field rta_expires of rta_cacheinfo > > Signed-off-by: Xin Long <lucien....@gmail.com> > Signed-off-by: Hannes Frederic Sowa <han...@stressinduktion.org> This is the wrong way to do this. Currently we only ever dump rta_cacheinfo values to the user. If we use it to set things, we have to completely consider every member of that structure as potentially having meaning either intended by the user or choosen by us in the future. Therefore it is a poor choice to start using for specifying the expires value, and some other mechanism such as a new RTNETLINK attribute, should be used for this. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html