]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove DST_NOGC flag
authorWei Wang <weiwan@google.com>
Sat, 17 Jun 2017 17:42:41 +0000 (10:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jun 2017 02:54:01 +0000 (22:54 -0400)
commit49e03b805db3832feef6683cbc966095f7314719
treed50771260588554f424a00efdd296a6097722eb8
parent731fcb2df84e38be93dbc43d355d78b92d8fbe4a
net: remove DST_NOGC flag

Now that all the components have been changed to release dst based on
refcnt only and not depend on dst gc anymore, we can remove the
temporary flag DST_NOGC.

Note that we also need to remove the DST_NOCACHE check in dst_release()
and dst_hold_safe() because now all the dst are released based on refcnt
and behaves as DST_NOCACHE.

Signed-off-by: Wei Wang <weiwan@google.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h
net/core/dst.c
net/decnet/dn_route.c
net/ipv4/route.c
net/ipv6/route.c
net/xfrm/xfrm_policy.c