lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 1 Sep 2010 12:20:59 +0200
From:	Simon Kagstrom <simon.kagstrom@...insight.net>
To:	Dave Jones <davej@...hat.com>
Cc:	netdev@...r.kernel.org
Subject: Re: via-velocity dma-debug warnings again. (2.6.35.2)

On Tue, 31 Aug 2010 13:21:07 -0400
Dave Jones <davej@...hat.com> wrote:

> On Tue, Aug 31, 2010 at 11:10:52AM +0200, Simon Kagstrom wrote:
>  > On Mon, 30 Aug 2010 21:13:49 -0400
>  > Dave Jones <davej@...hat.com> wrote:
>  > 
>  > > I installed the Fedora 14 alpha, which is based on 2.6.35.2, and hit
>  > > the following trace..
>  > > 
>  > > WARNING: at lib/dma-debug.c:811 check_unmap+0x212/0x59b()
>  > > Hardware name:  
>  > > via-velocity 0000:00:0e.0: DMA-API: device driver frees DMA memory with different size [device address=0x00000000194ba27e] [map size=66 bytes] [unmap size=182 bytes]
>  > 
>  > I can't reproduce it here, but does the patch below help for you?
> 
> It's looking good so far.  It's been up 30 minutes and hasn't triggered yet
> (normally it triggers very shortly after bootup)

Sounds good. I'll think a bit more about this and submit the patch
after that.

I'm not really an expert on the subject, but with skb_headlen(), the size
should be the same for pci_map_single and pci_unmap_single as far as I
can tell.

// Simon
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ