ipv6: clean up rt6_clean_expires
authorJiri Bohac <jbohac@suse.cz>
Mon, 16 Apr 2012 03:35:41 +0000 (03:35 +0000)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 30 Apr 2012 12:24:35 +0000 (17:24 +0530)
commitfc4fb8c26492b0dfdc15e15ed008373d419d04be
tree7867bdb09e18956f63ee5afcc78d7ec40afe3d8c
parent1d6ac6e8cbed5d1383d3332035115ff4e985cc31
ipv6: clean up rt6_clean_expires

Functionally, this change is a NOP.

Semantically, rt6_clean_expires() wants to do rt->dst.from = NULL instead of
rt->dst.expires = 0. It is clearing the RTF_EXPIRES flag, so the union is going
to be treated as a pointer (dst.from) not a long (dst.expires).

Signed-off-by: Jiri Bohac <jbohac@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h