Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751810Ab1CAFBb (ORCPT ); Tue, 1 Mar 2011 00:01:31 -0500 Received: from mail-wy0-f174.google.com ([74.125.82.174]:47122 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750710Ab1CAFB3 (ORCPT ); Tue, 1 Mar 2011 00:01:29 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=Pw8gewaAs2OzoDyzpHVsa6MH4RnEmVwYHA73eZF3P6ACJjw74IAlPRpyHu2vbdpM8y pa+EfOX8pc95Jw44143hHfHBnbKT2Ujcr+/Rdinf6Nc63VYeIlfKj6bjUbEdfbSqrPUM Z3KnY26aDsbTLiV1XrNJrjKhXOTvSSsfKl5Lk= Subject: Re: txqueuelen has wrong units; should be time From: Eric Dumazet To: Albert Cahalan Cc: John Heffner , "John W. Linville" , Jussi Kivilinna , Mikael Abrahamsson , linux-kernel , netdev@vger.kernel.org In-Reply-To: References: <1298793252.8726.45.camel@edumazet-laptop> <20110227125540.40754c5y78j9u2m8@hayate.sektori.org> <1298837273.8726.128.camel@edumazet-laptop> <20110228161115.GB2515@tuxdriver.com> <1298911694.2941.639.camel@edumazet-laptop> <20110228165501.GC2515@tuxdriver.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 01 Mar 2011 06:01:23 +0100 Message-ID: <1298955683.2676.2.camel@edumazet-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 689 Lines: 17 Le lundi 28 février 2011 à 23:11 -0500, Albert Cahalan a écrit : > It sounds like you need a callback or similar, so that TCP can be > informed later that the drop has occurred. There is the thing called skb destructor / skb_orphan() mess, that is not stackable... Might extend this to something more clever, and be able to call functions (into TCP stack for example) giving a status of skb : Sent, or dropped somewhere in the stack... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/