From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932927AbcF3QYb (ORCPT ); Thu, 30 Jun 2016 12:24:31 -0400 Received: from smtprelay0122.hostedemail.com ([216.40.44.122]:55620 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932617AbcF3QYO (ORCPT ); Thu, 30 Jun 2016 12:24:14 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:966:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2196:2199:2393:2553:2559:2562:2892:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:4250:4385:5007:6120:6261:7875:7901:7903:9010:10004:10400:10848:10967:11026:11232:11658:11914:12043:12296:12438:12517:12519:12740:13019:13069:13255:13311:13357:13439:14181:14659:14721:21080:21088:21324:30054:30060:30064:30075:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: wine50_7bf11c76c5a56 X-Filterd-Recvd-Size: 2279 Date: Thu, 30 Jun 2016 12:24:10 -0400 From: Steven Rostedt To: Trond Myklebust Cc: Jeff Layton , Eric Dumazet , Schumaker Anna , "Linux NFS Mailing List" , "Linux Network Devel Mailing List" , LKML , "Andrew Morton" , Fields Bruce Subject: Re: It's back! (Re: [REGRESSION] NFS is creating a hidden port (left over from xs_bind() )) Message-ID: <20160630122410.1022ea37@gandalf.local.home> In-Reply-To: <20160630112341.5ab5a821@gandalf.local.home> References: <20160630085950.61e5c7e0@gandalf.local.home> <20160630112341.5ab5a821@gandalf.local.home> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 30 Jun 2016 11:23:41 -0400 Steven Rostedt wrote: > I can add more trace_printk()s if it would help. I added a trace_printk() in inet_bind_bucket_destroy() to print out some information on the socket used by xs_bind(), and it shows that the bind destroy is called, but the list is not empty. /* * Caller must hold hashbucket lock for this tb with local BH disabled */ void inet_bind_bucket_destroy(struct kmem_cache *cachep, struct inet_bind_bucket *tb) { if (!current->mm && xs_port == tb->port) { trace_printk("destroy %d empty=%d %p\n", tb->port, hlist_empty(&tb->owners), tb); trace_dump_stack(1); } if (hlist_empty(&tb->owners)) { __hlist_del(&tb->node); kmem_cache_free(cachep, tb); } } I created "xs_port" to hold the port of the variable used by xs_bind, and when it is called, the hlist_empty(&tb->owners) returns false. I'll add more trace_printks to find out where those owners are being added. -- Steve