From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin KaFai Lau Subject: Re: [bpf-next PATCH v3 6/7] bpf: sockmap put client sockets in blocking mode Date: Fri, 12 Jan 2018 23:34:41 -0800 Message-ID: <20180113073441.ojfpdotkndzf2muj@kafai-mbp> References: <20180112050243.5823.85987.stgit@john-Precision-Tower-5810> <20180112050745.5823.94244.stgit@john-Precision-Tower-5810> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: , , To: John Fastabend Return-path: Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:47020 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751225AbeAMHe7 (ORCPT ); Sat, 13 Jan 2018 02:34:59 -0500 Content-Disposition: inline In-Reply-To: <20180112050745.5823.94244.stgit@john-Precision-Tower-5810> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Jan 11, 2018 at 09:07:45PM -0800, John Fastabend wrote: > Put client sockets in blocking mode otherwise with sendmsg tests > its easy to overrun the socket buffers which results in the test > being aborted. > > The original non-blocking was added to handle listen/accept with > a single thread the client/accepted sockets do not need to be > non-blocking. > > Signed-off-by: John Fastabend Acked-by: Martin KaFai Lau