This is a note to let you know that I've just added the patch titled

    staging: hv: Removed unneeded call to netif_stop_queue() in hv_netvsc

to the 2.6.37-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     staging-hv-removed-unneeded-call-to-netif_stop_queue-in-hv_netvsc.patch
and it can be found in the queue-2.6.37 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From a786f915274ba446865a996515c7790a930f04dd Mon Sep 17 00:00:00 2001
From: Hank Janssen <[email protected]>
Date: Fri, 7 Jan 2011 09:25:39 -0800
Subject: staging: hv: Removed unneeded call to netif_stop_queue() in hv_netvsc

From: Hank Janssen <[email protected]>

commit a786f915274ba446865a996515c7790a930f04dd upstream.

Removed the call to netif_stop_queue() in netvsc_probe() as
the queue is not initialized at that point and further call
to it after queue initialization is really not necessary.

This change was prompted after an upstream change went into
2.6.37 (netif_tx_stop_queue) that now checks if netif_stop_queue
is called before register with netdev is done.

This will eliminate the warning message to the log when hv_netvsc
driver starts up.

Signed-off-by: Abhishek Kane <[email protected]>
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: Hank Janssen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/staging/hv/netvsc_drv.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/staging/hv/netvsc_drv.c
+++ b/drivers/staging/hv/netvsc_drv.c
@@ -355,7 +355,6 @@ static int netvsc_probe(struct device *d
 
        /* Set initial state */
        netif_carrier_off(net);
-       netif_stop_queue(net);
 
        net_device_ctx = netdev_priv(net);
        net_device_ctx->device_ctx = device_ctx;


Patches currently in stable-queue which might be from [email protected] are

queue-2.6.37/staging-hv-removed-unneeded-call-to-netif_stop_queue-in-hv_netvsc.patch
queue-2.6.37/staging-hv-enable-sending-garp-packet-after-live-migration.patch
queue-2.6.37/staging-hv-fix-netvsc-sleeping-while-atomic.patch
queue-2.6.37/staging-hv-fix-sysfs-symlink-on-hv-block-device.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to