Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753061Ab0AUQvw (ORCPT ); Thu, 21 Jan 2010 11:51:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753274Ab0AUQvv (ORCPT ); Thu, 21 Jan 2010 11:51:51 -0500 Received: from hp3.statik.tu-cottbus.de ([141.43.120.68]:39975 "EHLO hp3.statik.tu-cottbus.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751650Ab0AUQvu (ORCPT ); Thu, 21 Jan 2010 11:51:50 -0500 Message-ID: <4B5885BA.7090007@s5r6.in-berlin.de> Date: Thu, 21 Jan 2010 17:50:02 +0100 From: Stefan Richter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.23) Gecko/20090825 SeaMonkey/1.1.18 MIME-Version: 1.0 To: Stephen Hemminger CC: Michael Breuer , Jarek Poplawski , David Miller , akpm@linux-foundation.org, flyboy@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit() References: <20100118212516.GE3157@del.dom.local> <4B54D50C.90608@majjas.com> <20100118220814.GG3157@del.dom.local> <20100118221747.GH3157@del.dom.local> <4B54E4EF.8080602@majjas.com> <4B554730.6090000@majjas.com> <20100119104739.GA9088@ff.dom.local> <4B55D40F.5080509@majjas.com> <20100119195933.GA3060@del.dom.local> <4B5610A9.7030902@majjas.com> <20100119224508.GA3473@del.dom.local> <4B5655D6.8090503@majjas.com> <20100119171013.207cac5c@nehalam> <4B587D4D.2010300@s5r6.in-berlin.de> In-Reply-To: <4B587D4D.2010300@s5r6.in-berlin.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 23 Stefan Richter wrote: > I didn't read the start of this thread and may misunderstand the issue, > but I comment anyway...: > > Documentation/DMA-API.txt says the following about (pci_)dma_sync_single > and friends: "All the parameters must be the same as those passed into > the single mapping API." > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/DMA-API.txt;h=5aceb88b3f8b622c8c23ed288f37f42de705c904;hb=HEAD#l367 > > So, it might be considered an API bug --- but it is a documented one. :-) Disregard my comment. I just noticed that there is more qualified discussion of this in the thread "[PATCH] sky2: Fix WARNING: at lib/dma-debug.c:902 check_sync". -- Stefan Richter -=====-==-=- ---= =-=-= http://arcgraph.de/sr/ -- 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/