xen-netback: Fix vif->disable handling
authorZoltan Kiss <zoltan.kiss@citrix.com>
Thu, 7 Aug 2014 12:38:38 +0000 (13:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Aug 2014 23:02:56 +0000 (16:02 -0700)
commit743b0a92b92a0e1b6a68497ccd18a0d60a4b6082
tree4845ec99fcac9cfec7e0eb3b1a61d65964e502a3
parent6c5caae01bf9f0505c272882ef2fc50f4249d8d6
xen-netback: Fix vif->disable handling

In the patch called "xen-netback: Turn off the carrier if the guest is not able
to receive" new branches were introduced to this if statement, risking that a
queue with non-zero id can reenable the disabled interface.

Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: xen-devel@lists.xenproject.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c