From: Scott Feldman Date: Wed, 23 Dec 2009 13:27:30 +0000 (+0000) Subject: enic: Bug fix: use safe queue shutdown in dev->stop X-Git-Tag: v2.6.34-rc1~233^2~711 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3d18d191bb805f3effdfc083c4ce79789470b46;p=pandora-kernel.git enic: Bug fix: use safe queue shutdown in dev->stop Fix dev->stop shutdown bug where driver was stopping xmit queue and then disabling intrs. Fix is to disable intrs first and then stop the xmit queue, otherwise an interrupt could cause the queue to be rewoken. Also, no need to explicitly do queue servicing because queues are cleaned and reset back to initial state at end of dev->stop. Servicing queues also had the side-effect of also rewakening the xmit queue, which is not what we want. Signed-off-by: Vasanthy Kolluri Signed-off-by: Scott Feldman Signed-off-by: David S. Miller --- Reading git-diff-tree failed