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]
Message-Id: <20090611.032024.218154973.davem@davemloft.net>
Date:	Thu, 11 Jun 2009 03:20:24 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	chrisw@...s-sol.org
Cc:	jeffrey.t.kirsher@...el.com, netdev@...r.kernel.org,
	e1000-devel@...ts.sourceforge.net, andy@...yhouse.net
Subject: Re: [PATCH] ixgbe: fix mismatched dma map/unmap size

From: Chris Wright <chrisw@...s-sol.org>
Date: Tue, 9 Jun 2009 10:11:51 -0700

> DMA buffer is mapped w/ NET_IP_ALIGN accounted, unmapped w/out.
> Dma debugging generates this warning.  Simple fix below.
> 
> [   76.356509] ixgbe 0000:04:00.0: DMA-API: device driver frees DMA
> memory with different size [device address=0x00000000fff7f022] [map
> size=1524 bytes] [unmap size=1522 bytes]
> ...
> [   76.440333]  [<ffffffffa000247f>] ixgbe_clean_rx_irq+0x123/0x41b [ixgbe]
> ...
> [   76.551151] Mapped at:
> [   76.553582]  [<ffffffff811bd745>] debug_dma_map_page+0x4d/0xf8
> [   76.559584]  [<ffffffffa00012d4>] ixgbe_alloc_rx_buffers+0x204/0x2af [ixgbe]
> 
> Signed-off-by: Chris Wright <chrisw@...s-sol.org>
> ---
> Fix is against v2.6.30-rc8-73-g3af968e, but still applies to net-next.

I'll leave this for Jeff to suck into his queue.   Thanks Chris.
--
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