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>] [day] [month] [year] [list]
Message-ID: <h2he6bf505b1004231457h334413dfweb4f6d6d6bf7692@mail.gmail.com>
Date:	Fri, 23 Apr 2010 16:57:52 -0500
From:	Xianghua Xiao <xiaoxianghua@...il.com>
To:	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>
Subject: Patch to gianfar.c for 2.6.33.2-rt13

Thomas,
I found another gianfar.c issue under rt kernel, here is a small patch:

diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index 453cfcf..5c85948 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -1553,7 +1553,7 @@ void stop_gfar(struct net_device *dev)


        /* Lock it down */
-       local_irq_save(flags);
+       local_irq_save_nort(flags);
        lock_tx_qs(priv);
        lock_rx_qs(priv);

@@ -1561,7 +1561,7 @@ void stop_gfar(struct net_device *dev)

        unlock_rx_qs(priv);
        unlock_tx_qs(priv);
-       local_irq_restore(flags);
+       local_irq_restore_nort(flags);

        /* Free the IRQs */
        if (priv->device_flags & FSL_GIANFAR_DEV_HAS_MULTI_INTR) {

thanks,
xianghua
--
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