[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170623.140851.1003457505473145353.davem@davemloft.net>
Date: Fri, 23 Jun 2017 14:08:51 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, andreyknvl@...gle.com
Subject: Re: [Patch net] sit: use __GFP_NOWARN for user controlled
allocation
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Thu, 22 Jun 2017 15:29:33 -0700
> The memory allocation size is controlled by user-space,
> if it is too large just fail silently and return NULL,
> not to mention there is a fallback allocation later.
>
> Reported-by: Andrey Konovalov <andreyknvl@...gle.com>
> Cc: Andrey Konovalov <andreyknvl@...gle.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied, thanks.
Powered by blists - more mailing lists