net: dst: remove gc leftovers
Get rid of some obsolete gc-related documentation and macros that were
missed in commit 5b7c9a8ff8
("net: remove dst gc related code").
CC: Wei Wang <weiwan@google.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Acked-by: Wei Wang <weiwan@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
88f808f312
commit
02afc7ad45
@@ -1176,7 +1176,7 @@ static struct dst_entry *ipv4_dst_check(struct dst_entry *dst, u32 cookie)
|
||||
*
|
||||
* When a PMTU/redirect information update invalidates a route,
|
||||
* this is indicated by setting obsolete to DST_OBSOLETE_KILL or
|
||||
* DST_OBSOLETE_DEAD by dst_free().
|
||||
* DST_OBSOLETE_DEAD.
|
||||
*/
|
||||
if (dst->obsolete != DST_OBSOLETE_FORCE_CHK || rt_is_expired(rt))
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user