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
@@ -19,17 +19,6 @@
|
||||
#include <net/neighbour.h>
|
||||
#include <asm/processor.h>
|
||||
|
||||
#define DST_GC_MIN (HZ/10)
|
||||
#define DST_GC_INC (HZ/2)
|
||||
#define DST_GC_MAX (120*HZ)
|
||||
|
||||
/* Each dst_entry has reference count and sits in some parent list(s).
|
||||
* When it is removed from parent list, it is "freed" (dst_free).
|
||||
* After this it enters dead state (dst->obsolete > 0) and if its refcnt
|
||||
* is zero, it can be destroyed immediately, otherwise it is added
|
||||
* to gc list and garbage collector periodically checks the refcnt.
|
||||
*/
|
||||
|
||||
struct sk_buff;
|
||||
|
||||
struct dst_entry {
|
||||
|
Reference in New Issue
Block a user