summaryrefslogtreecommitdiffstats
path: root/include/net/dst.h
diff options
context:
space:
mode:
authorWei Wang <weiwan@google.com>2017-06-17 19:42:42 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-18 04:54:01 +0200
commita4c2fd7f78915a0d7c5275e7612e7793157a01f2 (patch)
tree67797baa578f3492c80ef57a9eaf0d31040833f5 /include/net/dst.h
parentnet: remove DST_NOGC flag (diff)
downloadlinux-a4c2fd7f78915a0d7c5275e7612e7793157a01f2.tar.xz
linux-a4c2fd7f78915a0d7c5275e7612e7793157a01f2.zip
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>
Diffstat (limited to 'include/net/dst.h')
-rw-r--r--include/net/dst.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/dst.h b/include/net/dst.h
index 1be82f672c37..642483ed4edf 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -51,7 +51,6 @@ struct dst_entry {
#define DST_HOST 0x0001
#define DST_NOXFRM 0x0002
#define DST_NOPOLICY 0x0004
-#define DST_NOCACHE 0x0010
#define DST_NOCOUNT 0x0020
#define DST_FAKE_RTABLE 0x0040
#define DST_XFRM_TUNNEL 0x0080