From: Steffen Klassert <steffen.klassert@secunet.com>
To: Horia Geanta <horia.geanta@freescale.com>
Cc: "David S. Miller" <davem@davemloft.net>, <netdev@vger.kernel.org>
Subject: Re: [PATCH] xfrm: avoid creating temporary SA when there are no listeners
Date: Wed, 12 Feb 2014 13:09:14 +0100 [thread overview]
Message-ID: <20140212120914.GB3438@secunet.com> (raw)
In-Reply-To: <1390986731-12861-1-git-send-email-horia.geanta@freescale.com>
On Wed, Jan 29, 2014 at 11:12:11AM +0200, Horia Geanta wrote:
> In the case when KMs have no listeners, km_query() will fail and
> temporary SAs are garbage collected immediately after their allocation.
> This causes strain on memory allocation, leading even to OOM since
> temporary SA alloc/free cycle is performed for every packet
> and garbage collection does not keep up the pace.
>
> The sane thing to do is to make sure we have audience before
> temporary SA allocation.
>
> Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
After merging net-next into ipsec-next, I get a build failure
when I apply your patch. Please rebase onto ipsec-next current.
Thanks!
next prev parent reply other threads:[~2014-02-12 12:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-29 9:12 [PATCH] xfrm: avoid creating temporary SA when there are no listeners Horia Geanta
2014-01-29 9:17 ` Horia Geantă
2014-02-12 12:09 ` Steffen Klassert [this message]
2014-02-12 14:00 ` [PATCH ipsec-next v2] " Horia Geanta
2014-02-12 14:20 ` [PATCH ipsec-next v3] " Horia Geanta
2014-02-13 12:08 ` Steffen Klassert
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=20140212120914.GB3438@secunet.com \
--to=steffen.klassert@secunet.com \
--cc=davem@davemloft.net \
--cc=horia.geanta@freescale.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 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.