[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100407.205947.188334514.davem@davemloft.net>
Date: Wed, 07 Apr 2010 20:59:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sathyap@...verengines.com
Cc: fujita.tomonori@....ntt.co.jp, subbus@...verengines.com,
sarveshwarb@...verengines.com, ajitk@...verengines.com,
netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] benet: fix the misusage of zero dma address
From: Sathya Perla <sathyap@...verengines.com>
Date: Mon, 5 Apr 2010 13:52:02 +0530
> On 05/04/10 16:40 +0900, FUJITA Tomonori wrote:
>> > > + wrb->frag_len = 0;
>> > Why does wrb->frag_len need to be reset here?
>> > In the TX path, it is set to the proper value for data wrbs and zero
>> > for dummy and hdr wrbs.
>>
>> I guess that I misunderstood why unmap_tx_frag() checks a dma address.
>> The checking is necessary to avoid calling pci_unamp_* API for dummy
>> hdr wrbs?
> Yes.
>>
>> Anyway, if wrb->frag_len doesn't need to be reset here, the following
>> patch is ok?
> Yes. Thanks.
>
> Acked-by: Sathya Perla <sathyap@...verengines.com>
Applied to net-next-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists