aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/xfrm/xfrm_interface.c')
-rw-r--r--net/xfrm/xfrm_interface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_interface.c b/net/xfrm/xfrm_interface.c
index 31acc6f33d98..6f05e831a73e 100644
--- a/net/xfrm/xfrm_interface.c
+++ b/net/xfrm/xfrm_interface.c
@@ -116,6 +116,9 @@ static void xfrmi_unlink(struct xfrmi_net *xfrmn, struct xfrm_if *xi)
116 116
117static void xfrmi_dev_free(struct net_device *dev) 117static void xfrmi_dev_free(struct net_device *dev)
118{ 118{
119 struct xfrm_if *xi = netdev_priv(dev);
120
121 gro_cells_destroy(&xi->gro_cells);
119 free_percpu(dev->tstats); 122 free_percpu(dev->tstats);
120} 123}
121 124