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
| ||
|
Message-Id: <20070712154930.3DE4.MOKUNO@sm.sony.co.jp> Date: Thu, 12 Jul 2007 15:59:26 +0900 From: Masakazu Mokuno <mokuno@...sony.co.jp> To: netdev@...r.kernel.org Cc: cbe-oss-dev@...abs.org Subject: [PATCH] ps3: fix return value in the case of tx error Hi This patch fixes the improper return value of the hard_start_xmit() handler of PS3 gelic network driver. Signed-off-by: Masakazu Mokuno <mokuno@...sony.co.jp> --- drivers/net/ps3_gelic_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c @@ -803,7 +803,7 @@ kick: error: card->netdev_stats.tx_dropped++; spin_unlock_irqrestore(&card->tx_dma_lock, flags); - return NETDEV_TX_LOCKED; + return NETDEV_TX_BUSY; } /** -- Masakazu MOKUNO - 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