summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-01-11 05:10:08 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-01-11 05:10:08 +0100
commiteed0ba0b4ab2d1668588219a8efa81bf8636a12d (patch)
treef5aa3c732e7830a1b24e6071f8bed0f799881187 /net/xfrm/xfrm_state.c
parentpowerpc/powermac: Make auto-loading of therm_pm72 possible (diff)
parentpowerpc/83xx: add mpc8308_p1m DMA controller device-tree node (diff)
downloadlinux-eed0ba0b4ab2d1668588219a8efa81bf8636a12d.tar.xz
linux-eed0ba0b4ab2d1668588219a8efa81bf8636a12d.zip
Merge remote branch 'gcl/next' into next
Diffstat (limited to 'net/xfrm/xfrm_state.c')
-rw-r--r--net/xfrm/xfrm_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index eb96ce52f178..220ebc05c7af 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -1268,7 +1268,7 @@ struct xfrm_state * xfrm_state_migrate(struct xfrm_state *x,
return xc;
error:
- kfree(xc);
+ xfrm_state_put(xc);
return NULL;
}
EXPORT_SYMBOL(xfrm_state_migrate);