Re: [PATCH 2.6.27-rc9] af_key: fix SADB_X_SPDDELETE response

From: Tobias Brunner
Date: Fri Oct 10 2008 - 04:24:19 EST


David Miller wrote:
This patch does not apply cleanly to net-next-2.6, a lot has
changed in this area over the past several weeks.

Please respin this so that I can add it, thanks.

Please find the patch for net-next-2.6 below.

Thanks,
Tobias

---

diff --git a/net/key/af_key.c b/net/key/af_key.c
index 362fe31..e55e044 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -2341,6 +2341,7 @@ static int pfkey_spddelete(struct sock *sk, struct sk_buff *skb, struct sadb_msg

c.seq = hdr->sadb_msg_seq;
c.pid = hdr->sadb_msg_pid;
+ c.data.byid = 0;
c.event = XFRM_MSG_DELPOLICY;
km_policy_notify(xp, pol->sadb_x_policy_dir-1, &c);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/