aboutsummaryrefslogtreecommitdiff
path: root/net/key/Makefile
diff options
context:
space:
mode:
authorGravatar Horia Geanta <horia.geanta@freescale.com> 2014-02-12 16:20:06 +0200
committerGravatar Steffen Klassert <steffen.klassert@secunet.com> 2014-02-13 07:40:30 +0100
commit0f24558e91563888d51e9be5b70981da920c37ac (patch)
tree31aba2926b9f641fe30e235acc5a87b1b4dab73b /net/key/Makefile
parentflowcache: Bring net/core/flow.c under IPsec maintain scope (diff)
downloadlinux-0f24558e91563888d51e9be5b70981da920c37ac.tar.gz
linux-0f24558e91563888d51e9be5b70981da920c37ac.tar.bz2
linux-0f24558e91563888d51e9be5b70981da920c37ac.zip
xfrm: avoid creating temporary SA when there are no listeners
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> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/key/Makefile')
0 files changed, 0 insertions, 0 deletions