From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mihai Maruseac Subject: Re: [PATCH] dev: use name hash for dev_seq_ops. Date: Wed, 12 Oct 2011 13:08:37 +0300 Message-ID: <1318414117.2231.3.camel@sirius> References: <1318000849-2531-1-git-send-email-mmaruseac@ixiacom.com> <20111007092445.4f097ed9@nehalam.linuxnetplumber.net> <20111010225536.6ca5c042@nehalam.linuxnetplumber.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: , , Mihai Maruseac , "davem@davemloft.net" , "eric.dumazet@gmail.com" , "mirq-linux@rere.qmqm.pl" , "therbert@google.com" , "jpirko@redhat.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" To: Stephen Hemminger Return-path: In-Reply-To: <20111010225536.6ca5c042@nehalam.linuxnetplumber.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, 2011-10-10 at 22:55 -0700, Stephen Hemminger wrote: > If ifindex has been deleted, the code should fall back to delivering > the next offset. That means for the rare case it would have the old > behavior of linear searching. There is similar code already to > deal with /proc/net/route; it continues from the last address. We rewrote the patch to use the ifindex. Since we are at the beginning, the patch was sent in another thread. We'll learn how to properly send the mail. -- Thanks, Mihai