[ath9k-devel] [PATCH] ath9k: Clear DMA addresses when buffers are freed.

2010-10-15 Thread greearb
From: Ben Greear Previous patches cleared the pointer to the SKB, but did not clear the DMA addresses. This patch moves the clear logic into a method and makes sure that the DMA addresses are cleared as well. This does not obviously fix any bug, but may make it harder to cause bugs in the futur

Re: [ath9k-devel] [PATCH] ath9k: Clear DMA addresses when buffers are freed.

2010-10-28 Thread Ben Greear
On 10/15/2010 02:29 PM, gree...@candelatech.com wrote: > From: Ben Greear > > Previous patches cleared the pointer to the SKB, but did not > clear the DMA addresses. This patch moves the clear logic into > a method and makes sure that the DMA addresses are cleared as well. > > This does not obviou

Re: [ath9k-devel] [PATCH] ath9k: Clear DMA addresses when buffers are freed.

2010-10-28 Thread Luis R. Rodriguez
On Thu, Oct 28, 2010 at 04:33:28PM -0700, Ben Greear wrote: > On 10/15/2010 02:29 PM, gree...@candelatech.com wrote: > > From: Ben Greear > > > > Previous patches cleared the pointer to the SKB, but did not > > clear the DMA addresses. This patch moves the clear logic into > > a method and makes s

Re: [ath9k-devel] [PATCH] ath9k: Clear DMA addresses when buffers are freed.

2010-10-28 Thread Ben Greear
On 10/28/2010 04:36 PM, Luis R. Rodriguez wrote: > On Thu, Oct 28, 2010 at 04:33:28PM -0700, Ben Greear wrote: >> On 10/15/2010 02:29 PM, gree...@candelatech.com wrote: >>> From: Ben Greear >>> >>> Previous patches cleared the pointer to the SKB, but did not >>> clear the DMA addresses. This patch

Re: [ath9k-devel] [PATCH] ath9k: Clear DMA addresses when buffers are freed.

2010-10-28 Thread Peter Stuge
Luis R. Rodriguez wrote: > On Thu, Oct 28, 2010 at 04:33:28PM -0700, Ben Greear wrote: > > > From: Ben Greear > > > > > > Previous patches cleared the pointer to the SKB, but did not > > > clear the DMA addresses. This patch moves the clear logic into > > > a method and makes sure that the DMA add

Re: [ath9k-devel] [PATCH] ath9k: Clear DMA addresses when buffers are freed.

2010-10-29 Thread John W. Linville
On Thu, Oct 28, 2010 at 04:33:28PM -0700, Ben Greear wrote: > On 10/15/2010 02:29 PM, gree...@candelatech.com wrote: > >From: Ben Greear > > > >Previous patches cleared the pointer to the SKB, but did not > >clear the DMA addresses. This patch moves the clear logic into > >a method and makes sure