From: David Miller <davem@davemloft.net>
To: adobriyan@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] af_key: mark policy as dead before destroying
Date: Thu, 06 Nov 2008 23:09:07 -0800 (PST) [thread overview]
Message-ID: <20081106.230907.42708270.davem@davemloft.net> (raw)
In-Reply-To: <20081107024954.GA20157@x200.localdomain>
From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Fri, 7 Nov 2008 05:49:54 +0300
> xfrm_policy_destroy() will oops if not dead policy is passed to it.
> On error path in pfkey_compile_policy() exactly this happens.
>
> Oopsable for CAP_NET_ADMIN owners.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Good catch, applied to net-2.6
Thanks.
prev parent reply other threads:[~2008-11-07 7:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-07 2:49 [PATCH] af_key: mark policy as dead before destroying Alexey Dobriyan
2008-11-07 7:09 ` David Miller [this message]
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=20081106.230907.42708270.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=adobriyan@gmail.com \
--cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox