summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_device.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-07-17 14:57:26 +0300
committerDavid S. Miller <davem@davemloft.net>2017-07-18 21:13:41 +0300
commit09c7570480f7544ffbf8e6db365208b0b0c154c6 (patch)
tree65c8b2560b2c819b8948244fa707d4fa128b4da9 /net/xfrm/xfrm_device.c
parentbd45c539bf56650fb8fbab09c36f4b9afcbd4e1c (diff)
downloadlinux-09c7570480f7544ffbf8e6db365208b0b0c154c6.tar.xz
xfrm: remove flow cache
After rcu conversions performance degradation in forward tests isn't that noticeable anymore. See next patch for some numbers. A followup patcg could then also remove genid from the policies as we do not cache bundles anymore. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_device.c')
-rw-r--r--net/xfrm/xfrm_device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_device.c b/net/xfrm/xfrm_device.c
index 5f7e8bfa0c2d..1f9a079e08b0 100644
--- a/net/xfrm/xfrm_device.c
+++ b/net/xfrm/xfrm_device.c
@@ -175,8 +175,6 @@ static int xfrm_dev_down(struct net_device *dev)
if (dev->features & NETIF_F_HW_ESP)
xfrm_dev_state_flush(dev_net(dev), dev, true);
- xfrm_garbage_collect(dev_net(dev));
-
return NOTIFY_DONE;
}