Re: [PATCH] brcmsmac: handle packet drop on enqueuing correctly

2013-01-30 Thread Greg KH
On Fri, Jan 25, 2013 at 04:07:18PM +0100, Arend van Spriel wrote: > On 01/25/2013 03:57 PM, Arend van Spriel wrote: > > From: Piotr Haber > > > > In the event that tx packet can not be queued by the driver > > the packet is dropped. Propagate that information to the .tx() > > callback to make sur

Re: [PATCH] brcmsmac: handle packet drop on enqueuing correctly

2013-01-25 Thread Arend van Spriel
On 01/25/2013 03:57 PM, Arend van Spriel wrote: > From: Piotr Haber > > In the event that tx packet can not be queued by the driver > the packet is dropped. Propagate that information to the .tx() > callback to make sure the freed packet is not accessed after > that. > > This has happened causin

[PATCH] brcmsmac: handle packet drop on enqueuing correctly

2013-01-25 Thread Arend van Spriel
From: Piotr Haber In the event that tx packet can not be queued by the driver the packet is dropped. Propagate that information to the .tx() callback to make sure the freed packet is not accessed after that. This has happened causing slab corruptions as reported by Stanislaw Gruszka. Bug #47721