Skip to content
Snippets Groups Projects
Commit 1839faab authored by Tobias Brunner's avatar Tobias Brunner Committed by David S. Miller
Browse files

af_key: fix SADB_X_SPDDELETE response


When deleting an SPD entry using SADB_X_SPDDELETE, c.data.byid is not
initialized to zero in pfkey_spddelete(). Thus, key_notify_policy()
responds with a PF_KEY message of type SADB_X_SPDDELETE2 instead of
SADB_X_SPDDELETE.

Signed-off-by: default avatarTobias Brunner <tobias.brunner@strongswan.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d2a3b222
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment