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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130107.194011.1849511206295563088.davem@davemloft.net>
Date:	Mon, 07 Jan 2013 19:40:11 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	zajec5@...il.com
Cc:	netdev@...r.kernel.org, romieu@...zoreil.com, joe@...ches.com
Subject: Re: [PATCH V4] bgmac: driver for GBit MAC core on BCMA bus

From: Rafaİİ Miİİecki <zajec5@...il.com>
Date: Sun,  6 Jan 2013 01:20:09 +0100

> V4: stop queue when ring is full

You're still not doing it right.

> +	if (free_slots == 1) { /* Should never happen (netif_stop_queue) */
> +		bgmac_err(bgmac, "TX after stopping queue!\n");
> +		return NETDEV_TX_BUSY;
> +	}

You need to call netif_stop_queue() in this code path too.

Look more carefully at the drivers we asked you to use as
a model, they all do this properly.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ