diff options
author | David Miller <davem@davemloft.net> | 2017-11-28 23:40:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-30 17:54:26 +0300 |
commit | 3a2232e92e87166a8a5113e918b8c7b7bdce4d83 (patch) | |
tree | d4bea5d4b31fe38dde724e8eb102038438f17f36 /net/xfrm | |
parent | b6ca8bd5a9198c70c48297390723e4e56bd6e879 (diff) | |
download | linux-3a2232e92e87166a8a5113e918b8c7b7bdce4d83.tar.xz |
ipv6: Move dst->from into struct rt6_info.
The dst->from value is only used by ipv6 routes to track where
a route "came from".
Any time we clone or copy a core ipv6 route in the ipv6 routing
tables, we have the copy/clone's ->from point to the base route.
This is used to handle route expiration properly.
Only ipv6 uses this mechanism, and only ipv6 code references
it. So it is safe to move it into rt6_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions