diff options
author | Wei Wang <weiwan@google.com> | 2017-06-17 19:42:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-18 04:54:01 +0200 |
commit | a4c2fd7f78915a0d7c5275e7612e7793157a01f2 (patch) | |
tree | 67797baa578f3492c80ef57a9eaf0d31040833f5 /drivers/net/vrf.c | |
parent | net: remove DST_NOGC flag (diff) | |
download | linux-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 'drivers/net/vrf.c')
-rw-r--r-- | drivers/net/vrf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index d038927acfca..997ef25189fd 100644 --- a/drivers/net/vrf.c +++ b/drivers/net/vrf.c @@ -563,7 +563,7 @@ static void vrf_rt6_release(struct net_device *dev, struct net_vrf *vrf) static int vrf_rt6_create(struct net_device *dev) { - int flags = DST_HOST | DST_NOPOLICY | DST_NOXFRM | DST_NOCACHE; + int flags = DST_HOST | DST_NOPOLICY | DST_NOXFRM; struct net_vrf *vrf = netdev_priv(dev); struct net *net = dev_net(dev); struct fib6_table *rt6i_table; |