]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb2a9c0ed75a32e788d034a58a18f2fc46396e412
treed50771260588554f424a00efdd296a6097722eb8
parent5b7c9a8ff828287af5aebe93e707271bf1a82cc3
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