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

DST_NOCACHE flag check has been removed from dst_release() and
dst_hold_safe() in a previous patch because all the dst are now ref
counted properly and can be released based on refcnt only.
Looking at the rest of the DST_NOCACHE use, all of them can now be
removed or replaced with other checks.
So this patch gets rid of all the DST_NOCACHE usage and remove this flag
completely.

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>
drivers/net/vrf.c
include/net/dst.h
include/net/ip6_fib.h
net/core/dst.c
net/ipv4/route.c
net/ipv6/ip6_fib.c
net/ipv6/route.c
net/xfrm/xfrm_policy.c