Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751212AbdFAUDV (ORCPT ); Thu, 1 Jun 2017 16:03:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:39369 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751024AbdFAUDT (ORCPT ); Thu, 1 Jun 2017 16:03:19 -0400 Date: Thu, 1 Jun 2017 22:03:14 +0200 From: Cyril Hrubis To: Soheil Hassas Yeganeh Cc: "David S. Miller" , Shmulik Ladkani , Marcelo Ricardo Leitner , Pravin B Shelar , Eric Dumazet , WANG Cong , Yaogong Wang , Steffen Klassert , Al Viro , netdev , linux-kernel@vger.kernel.org Subject: Re: commit f5f99309 (sock: do not set sk_err in sock_dequeue_err_skb) has broken ping Message-ID: <20170601200314.GD10526@rei.suse.de> References: <20170601140048.GA24401@rei.lan> <20170601143141.GB24401@rei.lan> <20170601151003.GB10526@rei.suse.de> <20170601153645.GC10526@rei.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 614 Lines: 19 Hi! > Thank you very much! I have a wild guess that, when we > have a train of skbs on the error queue starting from a local error, > we will see this issue. > > Ping (without my patch) considers EAGAIN on a normal read as an > indication that there is nothing on the error queue, but that's a > flawed assumption. > > Would you mind trying another shot in the darkness please? Thanks! This patch seems to fix the issue, I've tried several times and poll() just timeouts, haven't seen a single POLLERR in the ping strace. You can add my Tested-by: for this patch as well :-). -- Cyril Hrubis chrubis@suse.cz