diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2013-08-23 15:46:08 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2013-08-26 10:59:48 +0200 |
commit | 0806ae4cc8722b2d2822fe3fa3f516f2da6b9459 (patch) | |
tree | 77d3da5d30acf33fd6988e378b7546ef5a93c7d6 | |
parent | b4de77ade3fc56e41b978b68d78a351dab28b74e (diff) | |
download | op-kernel-dev-0806ae4cc8722b2d2822fe3fa3f516f2da6b9459.zip op-kernel-dev-0806ae4cc8722b2d2822fe3fa3f516f2da6b9459.tar.gz |
xfrm: announce deleation of temporary SA
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>
-rw-r--r-- | net/xfrm/xfrm_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index 4f8ace8..3fd65b7 100644 --- 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, |