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: <4C499E6F.8030507@odi.ch>
Date:	Fri, 23 Jul 2010 15:51:43 +0200
From:	Ortwin Glück <odi@....ch>
To:	Jike Song <albcamus@...il.com>
CC:	linux-kernel@...r.kernel.org, Felix Fietkau <nbd@...nwrt.org>,
	Vasanthakumar Thiagarajan <vasanth@...eros.com>
Subject: Re: BUG at arch/x86/mm/physaddr.c:5

On 23.07.2010 10:04, Jike Song wrote:
> Seems to be a logical error?  Does the following patch remove your Oops?

Looking at the init code I agree. Yes, the patch fixes the OOPS. I am sure
because the OOPS occurred at every boot and now it's gone.

Thanks!

Ortwin

> 
> diff --git a/drivers/net/wireless/ath/ath9k/recv.c
> b/drivers/net/wireless/ath/ath9k/recv.c
> index ca6065b..e3e5291 100644
> --- a/drivers/net/wireless/ath/ath9k/recv.c
> +++ b/drivers/net/wireless/ath/ath9k/recv.c
> @@ -844,9 +844,9 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp)
>  	int dma_type;
> 
>  	if (edma)
> -		dma_type = DMA_FROM_DEVICE;
> -	else
>  		dma_type = DMA_BIDIRECTIONAL;
> +	else
> +		dma_type = DMA_FROM_DEVICE;
> 
>  	qtype = hp ? ATH9K_RX_QUEUE_HP : ATH9K_RX_QUEUE_LP;
>  	spin_lock_bh(&sc->rx.rxbuflock);
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ