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)
commita4c2fd7f78915a0d7c5275e7612e7793157a01f2
tree67797baa578f3492c80ef57a9eaf0d31040833f5
parentb2a9c0ed75a32e788d034a58a18f2fc46396e412
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