From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753161AbcCLBZt (ORCPT ); Fri, 11 Mar 2016 20:25:49 -0500 Received: from forward.webhostbox.net ([5.100.155.137]:33875 "EHLO forward.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980AbcCLBZr (ORCPT ); Fri, 11 Mar 2016 20:25:47 -0500 Subject: Re: Glibc recvmsg from kernel netlink socket hangs forever To: Cong Wang References: <20160311235035.GA18302@roeck-us.net> Cc: Jun Wang , LKML , Herbert Xu From: Guenter Roeck Message-ID: <56E37014.7030305@roeck-us.net> Date: Fri, 11 Mar 2016 17:25:40 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=NfdGrz34 c=1 sm=1 tr=0 a=QNED+QcLUkoL9qulTODnwA==:117 a=2cfIYNtKkjgZNaOwnGXpGw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=7OsogOcEt9IA:10 a=aQ7YRQBZ54L1uaaTAScA:9 a=SvJB_cCMw6d2rOlT:21 a=hFvgIscgp5H4INcQ:21 a=QEXdDO2ut3YA:10 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/11/2016 04:13 PM, Cong Wang wrote: > On Fri, Mar 11, 2016 at 3:50 PM, Guenter Roeck wrote: >> On Fri, Mar 11, 2016 at 11:33:17AM -0800, Jun Wang wrote: >>> Guenter, >>> >>> Which additional netlink changes from 4.2 did you patch? We still see >>> the problem with your test program with 4.1.12 which have the >>> following two patches mentioned by Herbert Xu on this thread. >>> >> Jun, >> >> Sorry, I don't recall, and I no longer have access to the kernel since >> I now work for a different company. I do recall that we had to apply >> additional patches later, but I don't remember details. > > I think it is probably this one: > > https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/net/netlink/af_netlink.c?h=linux-4.1.y&id=a52ec6de6d1638e8c203d7188c55627f75371612 > > The original backport is incorrect in 4.1 branch, and it is fixed now. > Yes, overall I would hope that 4.1.y should be up to date and working now. Guenter