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  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]
Date:	Thu, 27 Sep 2007 09:14:11 +0100
From:	Jochen Voß <voss@...huhn.de>
To:	Stephen Hemminger <shemminger@...ux-foundation.org>
Cc:	Jeff Garzik <jgarzik@...ox.com>, netdev@...r.kernel.org
Subject: Re: [PATCH] sky2: sky2 FE+ receive status workaround

Hi Stephen,

On 27 Sep 2007, at 01:58, Stephen Hemminger wrote:
> +	/* This chip has hardware problems that generates bogus status.
> +	 * So do only marginal checking and expect higher level protocols
> +	 * to handle crap frames.
> +	 */
> +	if (sky2->hw->chip_id == CHIP_ID_YUKON_FE_P &&
> +	    sky2->hw->chip_rev == CHIP_REV_YU_FE2_A0 &&
> +	    length != count)
> +		goto okay;

Shouldn't the condition be "length == count"?

I hope this helps,
Jochen
--
http://seehuhn.de/


-
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