projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4de77a
)
xfrm: announce deleation of temporary SA
author
Nicolas Dichtel
<nicolas.dichtel@6wind.com>
Fri, 23 Aug 2013 13:46:08 +0000
(15:46 +0200)
committer
Steffen Klassert
<steffen.klassert@secunet.com>
Mon, 26 Aug 2013 08:59:48 +0000
(10:59 +0200)
Creation of temporary SA are announced by netlink, but there is no notification
for the deletion.
This patch fix this asymmetric situation.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_state.c
patch
|
blob
|
history
diff --git
a/net/xfrm/xfrm_state.c
b/net/xfrm/xfrm_state.c
index
4f8ace8
..
3fd65b7
100644
(file)
--- a/
net/xfrm/xfrm_state.c
+++ b/
net/xfrm/xfrm_state.c
@@
-471,7
+471,7
@@
expired:
}
err = __xfrm_state_delete(x);
- if (!err
&& x->id.spi
)
+ if (!err)
km_state_expired(x, 1, 0);
xfrm_audit_state_delete(x, err ? 0 : 1,