mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
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>
This commit is contained in:
parent
b4de77ade3
commit
0806ae4cc8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user