From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH net-next 02/10] vxlan: handle skb_clone failure Date: Wed, 5 Jun 2013 18:31:18 -0700 Message-ID: <20130605183118.0c1a738c@nehalam.linuxnetplumber.net> References: <1370406254-6341-1-git-send-email-stephen@networkplumber.org> <1370406254-6341-2-git-send-email-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: David Stevens , Linux Kernel Network Developers , netdev-owner@vger.kernel.org To: Cong Wang Return-path: Received: from mail-pd0-f176.google.com ([209.85.192.176]:48569 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755950Ab3FFBbW (ORCPT ); Wed, 5 Jun 2013 21:31:22 -0400 Received: by mail-pd0-f176.google.com with SMTP id r11so2608989pdi.21 for ; Wed, 05 Jun 2013 18:31:22 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 6 Jun 2013 08:47:49 +0800 Cong Wang wrote: > On Wed, Jun 5, 2013 at 10:05 PM, David Stevens wrote: > > netdev-owner@vger.kernel.org wrote on 06/05/2013 02:59:56 AM: > > > >> From: Cong Wang > >> If OOM, shouldn't we exit immediately instead of continue handle the > >> next one? > > > > It could be a temporary condition; trying again doesn't really hurt, > > in case some do go through. So, I prefer this, but could live with > > bailing for all destinations, too. > > > > The problem we don't know if it is temporary or not, unless mm provides > EAGAIN? > -- > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html There is no EAGAIN in the network transmit path, it is not called from user context.