Search Linux Wireless

Re: [PATCH] ath5k: improve pcal error handling for ENOMEM case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 08, 2011 at 03:33:12PM -0400, John W. Linville wrote:
> The ath5k driver does kmalloc allocations for pcal info in a loop.
> But, if one fails it was simply returning -ENOMEM without freeing
> already allocated memory.  This patch corrects that oversight.
> 
> Reported-by: Eugene A. Shatokhin <dame_eugene@xxxxxxx>
> Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>

Reviewed-by: Bob Copeland <me@xxxxxxxxxxxxxxx>

Thanks!

-- 
Bob Copeland %% www.bobcopeland.com

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux