All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tobias Brunner <tobias.brunner@strongswan.org>
To: David Miller <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.27-rc9] af_key: fix SADB_X_SPDDELETE response
Date: Fri, 10 Oct 2008 10:23:36 +0200	[thread overview]
Message-ID: <48EF1108.5030008@strongswan.org> (raw)
In-Reply-To: <20081009.144409.170605081.davem@davemloft.net>

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);
 

  reply	other threads:[~2008-10-10  8:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-09 12:10 [PATCH 2.6.27-rc9] af_key: fix SADB_X_SPDDELETE response Tobias Brunner
2008-10-09 21:44 ` David Miller
2008-10-10  8:23   ` Tobias Brunner [this message]
2008-10-10 16:30     ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48EF1108.5030008@strongswan.org \
    --to=tobias.brunner@strongswan.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.