Thread (15 messages) 15 messages, 5 authors, 2016-12-01

Re: net/sctp: vmalloc allocation failure in sctp_setsockopt/xt_alloc_table_info

From: Eric Dumazet <hidden>
Date: 2016-11-28 18:28:54
Also in: lkml, netfilter-devel

On Mon, 2016-11-28 at 19:09 +0100, Florian Westphal wrote:
We should prevent OOM killer from running in first place (GFP_NORETRY should work).
Make sure that a vmalloc(80000) will succeed, even if few pages need to
be swapped out.

Otherwise, some scripts using iptables will die while they where okay
before ?

I am not sure how GFP_NORETRY really works among different linux
kernels.

Maybe this flag has no effect for order-0 allocations anyway.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help