From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH] nf_conntrack_acct: use skb->len for accounting Date: Mon, 02 Aug 2010 17:56:53 +0200 Message-ID: <4C56EAC5.2060601@trash.net> References: <1279856399-9058-1-git-send-email-xiaosuo@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: "David S. Miller" , netfilter-devel@vger.kernel.org, netdev@vger.kernel.org To: Changli Gao Return-path: Received: from stinky.trash.net ([213.144.137.162]:62710 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753878Ab0HBP4y (ORCPT ); Mon, 2 Aug 2010 11:56:54 -0400 In-Reply-To: <1279856399-9058-1-git-send-email-xiaosuo@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On 23.07.2010 05:39, Changli Gao wrote: > use skb->len for accounting as xt_quota does. Since nf_conntrack works at > the network layer, skb_network_offset should always returns ZERO. Applied.