[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110322.010234.98886588.davem@davemloft.net>
Date: Tue, 22 Mar 2011 01:02:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: marc.zyngier@....com
Cc: netdev@...r.kernel.org, steve.glendinning@...c.com
Subject: Re: [PATCH] NET: smsc95xx: don't use stack for async writes to the
device
From: Marc Zyngier <marc.zyngier@....com>
Date: Fri, 18 Mar 2011 13:53:58 +0000
> The set_multicast operation performs asynchronous writes to the
> device, with some addresses pointing to the stack. Bad things may
> happen, and this is trapped CONFIG_DMA_API_DEBUG:
...
> Move the two offenders to the private structure which is kmalloc-ed,
> and thus safe.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@....com>
> Cc: Steve Glendinning <steve.glendinning@...c.com>
Applied, thanks.
--
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