[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150519.000945.697478668443801629.davem@davemloft.net>
Date: Tue, 19 May 2015 00:09:45 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jbaron@...mai.com
Cc: edumazet@...gle.com, netdev@...r.kernel.org, ncardwell@...gle.com,
ycheng@...gle.com
Subject: Re: [PATCH] tcp: ensure epoll edge trigger wakeup when out of
memory
From: Jason Baron <jbaron@...mai.com>
Date: Fri, 15 May 2015 21:17:07 +0000 (GMT)
> From: Jason Baron <jbaron@...mai.com>
>
> If we really can't get an skb allocated, make sure that we let
> userspace know. This at least gives us a chance to re-try or abort.
>
> Signed-off-by: Jason Baron <jbaron@...mai.com>
Applied to net-next, thanks Jason.
Eric asked if we should perhaps return -ENOMEM here, and I'm not so
sure that's a good idea. It is in a way a temporary failure that
should be retried.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists